abstract class RouterCtl[Route] extends AnyRef

Router controller. A client API to the router.

Route

A data type that indicates a route that can be navigated to.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouterCtl
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RouterCtl()

Abstract Value Members

  1. abstract def baseUrl: BaseUrl
  2. abstract def byPath: RouterCtl[Path]
  3. abstract def pathFor(route: Route): Path
  4. abstract def refresh: Callback
  5. abstract def set(route: Route, via: SetRouteVia): Callback

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def contramap[B](f: (B) => Route): RouterCtl[B]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def link(route: Route): vdom.html_<^.VdomTagOf[Anchor]
  13. final def narrow[B <: Route]: RouterCtl[B]
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def onLinkClick(route: Route): (react.ReactMouseEvent) => CallbackOption[Unit]
  18. final def onSet(f: (Callback) => Callback): RouterCtl[Route]

    Change the behaviour of set() and all derivatives.

    Change the behaviour of set() and all derivatives.

    For example, this can be used to set a component's state immediately before setting a new route.

  19. final def onSet(f: (Route, Callback) => Callback): RouterCtl[Route]

    Change the behaviour of set() and all derivatives.

    Change the behaviour of set() and all derivatives.

    For example, this can be used to set a component's state immediately before setting a new route.

  20. final def onSetRun(f: Callback): RouterCtl[Route]

    Return a new version of this that executes the specified callback after setting new routes.

  21. final def set(route: Route): Callback
  22. final def setEH(route: Route): (react.ReactEvent) => Callback
  23. final def setOnClick(route: Route): vdom.html_<^.TagMod
  24. final def setOnLinkClick(route: Route): vdom.html_<^.TagMod
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def urlFor(route: Route): AbsUrl
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. final def link(route: Route, callback: Callback): vdom.html_<^.VdomTagOf[Anchor]
    Annotations
    @deprecated
    Deprecated

    (Since version forever) Use .onSetRun(callback).link(route)

  3. final def setOnClick(route: Route, callback: Callback): vdom.html_<^.TagMod
    Annotations
    @deprecated
    Deprecated

    (Since version forever) Use .onSetRun(callback).setOnClick(route)

  4. final def setOnLinkClick(route: Route, callback: Callback): vdom.html_<^.TagMod
    Annotations
    @deprecated
    Deprecated

    (Since version forever) Use .onSetRun(callback).setOnLinkClick(route)

Inherited from AnyRef

Inherited from Any

Ungrouped