abstract class RouterCtlF[F[_], Route] extends AnyRef
Router controller. A client API to the router.
- Route
A data type that indicates a route that can be navigated to.
- Alphabetic
- By Inheritance
- RouterCtlF
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RouterCtlF()
Abstract Value Members
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def contramap[B](f: (B) => Route): RouterCtlF[F, B]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def link(route: Route): vdom.html_<^.VdomTagOf[Anchor]
- final def narrow[B <: Route]: RouterCtlF[F, B]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def onLinkClick(route: Route): (internal.CoreGeneral.ReactMouseEvent) => Option[F[Unit]]
- final def onSet(f: (F[Unit]) => F[Unit]): RouterCtlF[F, 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.
- final def onSet(f: (Route, F[Unit]) => F[Unit]): RouterCtlF[F, 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.
- final def onSetRun(f: F[Unit]): RouterCtlF[F, Route]
Return a new version of this that executes the specified callback after setting new routes.
- final def set(route: Route): F[Unit]
- final def setEH(route: Route): (internal.CoreGeneral.ReactEvent) => F[Unit]
- final def setOnClick(route: Route): vdom.html_<^.TagMod
- final def setOnLinkClick(route: Route): vdom.html_<^.TagMod
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def urlFor(route: Route): AbsUrl
- 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 wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withEffect[G[_]](implicit G: Sync[G]): RouterCtlF[G, Route]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- final def link(route: Route, callback: F[Unit]): vdom.html_<^.VdomTagOf[Anchor]
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).link(route)
- final def setOnClick(route: Route, callback: F[Unit]): vdom.html_<^.TagMod
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).setOnClick(route)
- final def setOnLinkClick(route: Route, callback: F[Unit]): vdom.html_<^.TagMod
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).setOnLinkClick(route)