final case class CopyToClipboard(text: String, onCopy: OnCopy = (_, _) => Callback.empty, options: Option[ClipboardOptions] = None) extends ReactPropsWithChildren[CopyToClipboard] with Product with Serializable
Text to be copied to clipboard Optional callback, will be called when text is copied Optional copy-to-clipboard options.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CopyToClipboard
- Serializable
- Product
- Equals
- ReactPropsWithChildren
- ReactComponentProps
- CtorWithProps
- ReactRender
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CopyToClipboard(text: String, onCopy: OnCopy = (_, _) => Callback.empty, options: Option[ClipboardOptions] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addMod(f: ModFn): CtorWithProps[CopyToClipboard, This, Unmounted[CopyToClipboard, _, _]]
- Definition Classes
- CtorWithProps
- def apply(first: ChildArg, rest: ChildArg*)(implicit ev: <:<[PropsAndChildren[CopyToClipboard, Unmounted[CopyToClipboard, _, _]], PropsAndChildren[CopyToClipboard, Unmounted[CopyToClipboard, _, _]]]): Unmounted[CopyToClipboard, _, _]
- Definition Classes
- ReactRender
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone[CT0[-p, +u] <: CtorType[p, u]](newCtor: CT0[CopyToClipboard, Unmounted[CopyToClipboard, _, _]]): CtorWithProps[CopyToClipboard, CT0, Unmounted[CopyToClipboard, _, _]]
- Attributes
- protected
- Definition Classes
- CtorWithProps
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val component: Component[CopyToClipboard, _, _, PropsAndChildren]
- Definition Classes
- ReactPropsWithChildren → ReactComponentProps
- lazy val ctor: PropsAndChildren[CopyToClipboard, Unmounted[CopyToClipboard, _, _]]
- Definition Classes
- ReactComponentProps → ReactRender
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val onCopy: OnCopy
- val options: Option[ClipboardOptions]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- lazy val props: CopyToClipboard
- Attributes
- protected[common]
- Definition Classes
- ReactComponentProps → ReactRender
- def render: (Seq[ChildArg]) => japgolly.scalajs.react.vdom.html_<^.VdomElement
- Annotations
- @inline()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val text: String
- val toUnmounted: Unmounted[CopyToClipboard, _, _]
- Definition Classes
- ReactRender
- Annotations
- @inline()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def withKey(k: Long): CtorWithProps[CopyToClipboard, This, Unmounted[CopyToClipboard, _, _]]
- Definition Classes
- CtorWithProps
- def withKey(key: japgolly.scalajs.react.Key): CtorWithProps[CopyToClipboard, This, Unmounted[CopyToClipboard, _, _]]
- Definition Classes
- CtorWithProps
- def withOptionalRef[S, B](ref: Option[Handle[RawMounted[CopyToClipboard, S, B]]]): ReactComponentProps[CopyToClipboard, PropsAndChildren]
- Definition Classes
- ReactComponentProps
- final def withRawProp(name: String, value: Any): CtorWithProps[CopyToClipboard, This, Unmounted[CopyToClipboard, _, _]]
- Definition Classes
- CtorWithProps
- def withRef[S, B](ref: Handle[RawMounted[CopyToClipboard, S, B]]): ReactComponentProps[CopyToClipboard, PropsAndChildren]
- Definition Classes
- ReactComponentProps