Packages

case class RouterConfig[Page](parse: (Path) ⇒ Parsed[Page], path: (Page) ⇒ Path, action: (Path, Page) ⇒ Action[Page], renderFn: (RouterCtl[Page], Resolution[Page]) ⇒ VdomElement, postRenderFn: (Option[Page], Page) ⇒ Callback, logger: Logger) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouterConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RouterConfig(parse: (Path) ⇒ Parsed[Page], path: (Page) ⇒ Path, action: (Path, Page) ⇒ Action[Page], renderFn: (RouterCtl[Page], Resolution[Page]) ⇒ VdomElement, postRenderFn: (Option[Page], Page) ⇒ Callback, logger: Logger)

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. val action: (Path, Page) ⇒ Action[Page]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def detectErrors(pages: Page*): Vector[String]

    Check specified pages for possible route config errors.

    Check specified pages for possible route config errors.

    Note: Requires that Page#equals() be sensible.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def logToConsole: RouterConfig[Page]
  13. def logWith(l: Logger): RouterConfig[Page]
  14. val logger: Logger
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def onPostRender(f: (Option[Page], Page) ⇒ Callback): RouterConfig[Page]

    Add an procedure to be performed after the router renders.

    Add an procedure to be performed after the router renders.

    f

    Given the previous page and the current page that just rendered, return a callback.

  19. val parse: (Path) ⇒ Parsed[Page]
  20. val path: (Page) ⇒ Path
  21. val postRenderFn: (Option[Page], Page) ⇒ Callback
  22. val renderFn: (RouterCtl[Page], Resolution[Page]) ⇒ VdomElement
  23. def renderWith(f: (RouterCtl[Page], Resolution[Page]) ⇒ VdomElement): RouterConfig[Page]

    Specify how to render a page once it's resolved.

    Specify how to render a page once it's resolved. This function will be applied to all renderable pages.

  24. def setPostRender(f: (Option[Page], Page) ⇒ Callback): RouterConfig[Page]

    Specify (entirely) what to do after the router renders.

    Specify (entirely) what to do after the router renders.

    f

    Given the previous page and the current page that just rendered, return a callback.

  25. def setTitle(f: (Page) ⇒ String): RouterConfig[Page]

    Change the document title after the router renders.

    Change the document title after the router renders.

    f

    Given the current page that just rendered, return a new title.

  26. def setTitleOption(f: (Page) ⇒ Option[String]): RouterConfig[Page]

    Change the document title after the router renders.

    Change the document title after the router renders.

    f

    Given the current page that just rendered, return potential new title.

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def verify(page1: Page, pages: Page*): RouterConfig[Page]

    Verify that the page arguments provided, don't encounter any route config errors.

    Verify that the page arguments provided, don't encounter any route config errors.

    Note: Requires that Page#equals() be sensible.

  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped