final class RouterLogic[Page, Props] extends Broadcaster[Unit]

Performs all routing logic.

Page

Routing rules context. Prevents different routing rule sets being mixed up.

Linear Supertypes
Broadcaster[Unit], Listenable[Unit], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouterLogic
  2. Broadcaster
  3. Listenable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RouterLogic(baseUrl: BaseUrl, cfg: RouterWithPropsConfig[Page, Props])

    baseUrl

    The prefix of all routes in a set.

Type Members

  1. type Action = router.Action[Page]
  2. type Redirect = router.Redirect[Page]
  3. type Renderer = router.Renderer[Page, Props]
  4. type Resolution = ResolutionWithProps[Page, Props]

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. val baseUrl: BaseUrl
  6. def broadcast(a: Unit): Callback
    Attributes
    protected
    Definition Classes
    Broadcaster
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. val ctl: RouterCtl[Page]
  9. val ctlByPath: RouterCtl[Path]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. implicit def impbaseurl: BaseUrl
    Attributes
    protected
    Annotations
    @inline()
  15. def interpret[A](r: RouteCmd[A]): CallbackTo[A]
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def listenerIterator: Iterator[(Unit) => Callback]
    Attributes
    protected
    Definition Classes
    Broadcaster
  18. def log(msg: => String): Log
    Attributes
    protected
    Annotations
    @inline()
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def parseUrl(url: AbsUrl): Option[Path]
  23. def redirect(r: Redirect): CallbackTo[RouteCmd[Resolution]]
  24. def redirectToPath(path: Path, via: SetRouteVia): CallbackTo[RouteCmd[Resolution]]
  25. def register(listener: (Unit) => Callback): CallbackTo[Callback]

    Register a listener.

    Register a listener.

    listener

    The listener/consumer. A procedure that receives data of type A.

    returns

    A procedure to unregister the given listener.

    Definition Classes
    BroadcasterListenable
  26. def render(r: Resolution, props: Props): VdomElement
  27. def resolveAction(a: Action): CallbackTo[Either[RouteCmd[Resolution], Renderer]]
  28. def resolveAction(page: Page, action: Action): CallbackTo[RouteCmd[Resolution]]
  29. def resolveActionForPage(path: Path, page: Page): CallbackTo[RouteCmd[Resolution]]
  30. def setPath(path: Path, via: SetRouteVia): RouteCmd[Unit]
  31. def syncToPath(path: Path): CallbackTo[RouteCmd[Resolution]]
  32. def syncToUrl(url: AbsUrl): CallbackTo[RouteCmd[Resolution]]
  33. val syncToWindowUrl: CallbackTo[Resolution]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. def wrongBase(wrongUrl: AbsUrl): CallbackTo[RouteCmd[Resolution]]

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.

Inherited from Broadcaster[Unit]

Inherited from Listenable[Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped