Packages

  • package root
    Definition Classes
    root
  • package react_dom

    scala.js entry point of react-dom.

    scala.js entry point of react-dom. There may be functions here that are only present on experimental builds of react. The functions renderToElementWithId, createPortalInElementWithId, and render should always be available.

    Definition Classes
    root
  • BuildInfo
  • Concurrent
  • CreateRootOptions
  • Renderable
p

react_dom

package react_dom

scala.js entry point of react-dom. There may be functions here that are only present on experimental builds of react. The functions renderToElementWithId, createPortalInElementWithId, and render should always be available.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. react_dom
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Concurrent extends Object
    Annotations
    @JSType() @native()
  2. trait CreateRootOptions extends Object
    Annotations
    @JSType()
  3. trait Renderable extends Object
    Annotations
    @JSType() @native()

Value Members

  1. def createBlockingRoot(id: String): Either[String, (ReactNode) => Unit]
  2. def createPortalInElementWithId(node: ReactNode, id: String, key: Option[String] = None): Either[Throwable, ReactPortal]

    Render the DOM given an element id using react's portal.

  3. def createRoot(id: String): Either[String, (ReactNode) => Unit]

    Render using concurrent mode.

    Render using concurrent mode. Left is an error message and right is a render function.

  4. def findDOMNode(componentOrElement: Any): Element
  5. def hydrate(element: Element, container: Element, done: Function0[Unit]): Unit
  6. def render(node: ReactNode, target: Element): Unit
  7. def renderCB(node: ReactNode, target: Element, cb: Function0[Unit]): Unit
  8. def renderToElement(id: String, cb: Option[() => Unit] = None): Either[String, (ReactNode) => Unit]
  9. def renderToElementWithId(el: ReactNode, id: String, cb: Option[() => Unit] = None): Either[Throwable, Unit]

    Render into the DOM given an element id.

  10. def unmountComponentAtNode(el: Element): Boolean
  11. case object BuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

Inherited from AnyRef

Inherited from Any

Ungrouped