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.
- Alphabetic
- By Inheritance
- RouterCtl
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RouterCtl()
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( ... ) @native() @HotSpotIntrinsicCandidate()
- final def contramap[B](f: (B) ⇒ Route): RouterCtl[B]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def link(route: Route): vdom.html_<^.VdomTagOf[Anchor]
- final def narrow[B <: Route]: RouterCtl[B]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def onLinkClick(route: Route): (react.ReactMouseEvent) ⇒ CallbackOption[Unit]
-
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.
-
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.
-
final
def
onSetRun(f: Callback): RouterCtl[Route]
Return a new version of this that executes the specified callback after setting new routes.
- final def set(route: Route): Callback
- final def setEH(route: Route): (react.ReactEvent) ⇒ Callback
- 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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
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.
-
final
def
link(route: Route, callback: Callback): vdom.html_<^.VdomTagOf[Anchor]
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).link(route)
-
final
def
setOnClick(route: Route, callback: Callback): vdom.html_<^.TagMod
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).setOnClick(route)
-
final
def
setOnLinkClick(route: Route, callback: Callback): vdom.html_<^.TagMod
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).setOnLinkClick(route)