Packages

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
Serializable, Product, Equals, ReactPropsWithChildren[CopyToClipboard], ReactComponentProps[CopyToClipboard, PropsAndChildren], CtorWithProps[CopyToClipboard, PropsAndChildren], ReactRender[CopyToClipboard, PropsAndChildren], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CopyToClipboard
  2. Serializable
  3. Product
  4. Equals
  5. ReactPropsWithChildren
  6. ReactComponentProps
  7. CtorWithProps
  8. ReactRender
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CopyToClipboard(text: String, onCopy: OnCopy = (_, _) => Callback.empty, options: Option[ClipboardOptions] = None)

Type Members

  1. type CopyType[-P, +U] = This[P, U]
    Attributes
    protected
    Definition Classes
    CtorWithProps
  2. type CopyTypePU = This[CopyToClipboard, Unmounted[CopyToClipboard, _, _]]
    Attributes
    protected
    Definition Classes
    CtorWithProps

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addMod(f: ModFn): CtorWithProps[CopyToClipboard, CopyType]
    Definition Classes
    CtorWithProps
  5. def apply(first: ChildArg, rest: ChildArg*)(implicit ev: <:<[PropsAndChildren[CopyToClipboard, Unmounted[CopyToClipboard, _, _]], PropsAndChildren[CopyToClipboard, Unmounted[CopyToClipboard, _, _]]]): Unmounted[CopyToClipboard, _, _]
    Definition Classes
    ReactRender
    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val component: Component[CopyToClipboard, _, _, PropsAndChildren]
    Definition Classes
    ReactPropsWithChildren → ReactComponentProps
  9. def copy(newCtor: CopyTypePU): CtorWithProps[CopyToClipboard, CopyType]
    Attributes
    protected
    Definition Classes
    CtorWithProps
  10. lazy val ctor: PropsAndChildren[CopyToClipboard, Unmounted[CopyToClipboard, _, _]]
    Definition Classes
    ReactComponentProps → ReactRender
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. val onCopy: OnCopy
  19. val options: Option[ClipboardOptions]
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. lazy val props: CopyToClipboard
    Attributes
    protected[common]
    Definition Classes
    ReactComponentProps → ReactRender
  22. def render: (Seq[ChildArg]) => japgolly.scalajs.react.vdom.html_<^.VdomElement
    Annotations
    @inline()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. val text: String
  25. val toUnmounted: Unmounted[CopyToClipboard, _, _]
    Definition Classes
    ReactRender
    Annotations
    @inline()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def withKey(k: Long): CtorWithProps[CopyToClipboard, CopyType]
    Definition Classes
    CtorWithProps
  30. def withKey(key: Key): CtorWithProps[CopyToClipboard, CopyType]
    Definition Classes
    CtorWithProps
  31. def withOptionalRef[S, B](ref: Option[Handle[RawMounted[CopyToClipboard, S, B]]]): ReactComponentProps[CopyToClipboard, PropsAndChildren]
    Definition Classes
    ReactComponentProps
  32. final def withRawProp(name: String, value: Any): CtorWithProps[CopyToClipboard, CopyType]
    Definition Classes
    CtorWithProps
  33. def withRef[S, B](ref: Handle[RawMounted[CopyToClipboard, S, B]]): ReactComponentProps[CopyToClipboard, PropsAndChildren]
    Definition Classes
    ReactComponentProps

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ReactPropsWithChildren[CopyToClipboard]

Inherited from ReactComponentProps[CopyToClipboard, PropsAndChildren]

Inherited from CtorWithProps[CopyToClipboard, PropsAndChildren]

Inherited from ReactRender[CopyToClipboard, PropsAndChildren]

Inherited from AnyRef

Inherited from Any

Ungrouped