class MockRouterCtl[P] extends RouterCtl[P]
Mock RouterCtl that does nothing but record events.
Call events() to inspect recorded events, and clear() to clear them.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MockRouterCtl
- RouterCtl
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new MockRouterCtl(baseUrl: BaseUrl, pageToPath: (P) => Path)
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
- var _events: Vector[Event[P]]
- Attributes
- protected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseUrl: BaseUrl
- Definition Classes
- MockRouterCtl → RouterCtl
- val byPath: RouterCtl[Path]
- Definition Classes
- MockRouterCtl → RouterCtl
- def clear(): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def contramap[B](f: (B) => P): RouterCtl[B]
- Definition Classes
- RouterCtl
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def events(): Vector[Event[P]]
- final def getClass(): Class[_ <: AnyRef]
- 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: P): vdom.html_<^.VdomTagOf[Anchor]
- Definition Classes
- RouterCtl
- final def narrow[B <: P]: RouterCtl[B]
- Definition Classes
- RouterCtl
- 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: P): (react.ReactMouseEvent) => CallbackOption[Unit]
- Definition Classes
- RouterCtl
- final def onSet(f: (Callback) => Callback): RouterCtl[P]
- Definition Classes
- RouterCtl
- final def onSet(f: (P, Callback) => Callback): RouterCtl[P]
- Definition Classes
- RouterCtl
- final def onSetRun(f: Callback): RouterCtl[P]
- Definition Classes
- RouterCtl
- def pathFor(p: P): Path
- Definition Classes
- MockRouterCtl → RouterCtl
- def refresh: Callback
- Definition Classes
- MockRouterCtl → RouterCtl
- def set(p: P, v: SetRouteVia): Callback
- Definition Classes
- MockRouterCtl → RouterCtl
- final def set(route: P): Callback
- Definition Classes
- RouterCtl
- final def setEH(route: P): (react.ReactEvent) => Callback
- Definition Classes
- RouterCtl
- final def setOnClick(route: P): vdom.html_<^.TagMod
- Definition Classes
- RouterCtl
- final def setOnLinkClick(route: P): vdom.html_<^.TagMod
- Definition Classes
- RouterCtl
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def urlFor(route: P): AbsUrl
- Definition Classes
- RouterCtl
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- final def link(route: P, callback: Callback): vdom.html_<^.VdomTagOf[Anchor]
- Definition Classes
- RouterCtl
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).link(route)
- final def setOnClick(route: P, callback: Callback): vdom.html_<^.TagMod
- Definition Classes
- RouterCtl
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).setOnClick(route)
- final def setOnLinkClick(route: P, callback: Callback): vdom.html_<^.TagMod
- Definition Classes
- RouterCtl
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).setOnLinkClick(route)