Trait

sri.universal.router

UniversalRouterConfig

Related Doc: package router

Permalink

trait UniversalRouterConfig extends RouteDefinitions

Linear Supertypes
RouteDefinitions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UniversalRouterConfig
  2. RouteDefinitions
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val initialRoute: (StaticPage, NavigatorRoute)

    Permalink
  2. abstract val notFound: UniversalRouteNotFound

    Permalink

    not found route

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def defineInitialRoute(page: StaticPage, title: String, component: ⇒ ReactElement, sceneConfig: UndefOr[NavigatorSceneConfig] = js.undefined): (StaticPage, NavigatorRoute)

    Permalink

    use this method to define initial route for router

    use this method to define initial route for router

    page

    a StaticPage

    title

    title/name for the the route

    component

    component that you want ot render on first load of your app

    sceneConfig

    page transition style/animation

  7. def dynamicRoute[T](page: DynamicPage[T], component: Function1[T, ReactElement], sceneConfig: UndefOr[NavigatorSceneConfig] = js.undefined, leftButton: UndefOr[NavBarElementFunction] = js.undefined, rightButton: UndefOr[NavBarElementFunction] = js.undefined): Unit

    Permalink

    use this method to define dynamic routes in app

    use this method to define dynamic routes in app

    page

    s DynamicePage[T]

    component

    dynamic component that should be rendered when navigated to this route

    sceneConfig

    page transition style/animation

    Definition Classes
    UniversalRouterConfig → RouteDefinitions
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def moduleRoutes(config: UniversalRouterModuleConfig): Unit

    Permalink

    use this method to register sub module routes

  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. val onDidFocus: Function1[NavigatorRoute, _]

    Permalink
  19. val onWillFocus: Function1[NavigatorRoute, _]

    Permalink
  20. def renderScene(route: NavigatorRoute, ctrl: UniversalRouterCtrl): ReactElement

    Permalink

    this method is responsible for rendering components ,

  21. lazy val routes: Map[Page, NavigatorRoute]

    Permalink
  22. def staticRoute(page: StaticPage, title: String, component: ⇒ ReactElement, sceneConfig: UndefOr[NavigatorSceneConfig] = js.undefined, leftButton: UndefOr[NavBarElementFunction] = js.undefined, rightButton: UndefOr[NavBarElementFunction] = js.undefined): Unit

    Permalink

    use this method define static routes in app

    use this method define static routes in app

    page

    a StaticPage

    title

    title/name for the route

    component

    static component that should be rendered when navigated to this route

    sceneConfig

    page transition style/animation

    Definition Classes
    UniversalRouterConfig → RouteDefinitions
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RouteDefinitions

Inherited from AnyRef

Inherited from Any

Ungrouped