Object

japgolly.scalajs.react.extra.router

StaticDsl

Related Doc: package router

Permalink

object StaticDsl

This is not meant to be imported by library-users; RouterConfigDsl is the entire library-user-facing facade & DSL.

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

Type Members

  1. final class DynamicRedirectB[Page, A, O] extends AnyVal

    Permalink
  2. final class DynamicRouteB[Page, P <: Page, O] extends AnyVal

    Permalink
  3. final class Route[A] extends RouteCommon[Route, A]

    Permalink

    A complete route.

  4. class RouteB[A] extends RouteCommon[RouteB, A]

    Permalink

    A fragment of a route.

    A fragment of a route. Can be composed with other fragments.

  5. final class RouteBO[A] extends AnyVal

    Permalink
  6. abstract class RouteCommon[R[X] <: RouteCommon[R, X], A] extends AnyRef

    Permalink
  7. final case class Rule[Page](parse: (Path) ⇒ Option[Parsed[Page]], path: (Page) ⇒ Option[Path], action: (Path, Page) ⇒ Option[Action[Page]]) extends Product with Serializable

    Permalink

    A single routing rule.

    A single routing rule. Intended to be composed with other Rules. When all rules are composed, this is turned into a Rules instance.

    Page

    The type of legal pages.

    parse

    Attempt to parse a given path.

    path

    Attempt to determine the path for some page.

    action

    Attempt to determine the action when a route resolves to some page.

  8. final case class Rules[Page](parse: (Path) ⇒ Option[Parsed[Page]], path: (Page) ⇒ Path, action: (Path, Page) ⇒ Action[Page]) extends Product with Serializable

    Permalink

    Exhaustive routing rules.

    Exhaustive routing rules. For all Pages there are Paths and Actions.

  9. final class StaticRedirectB[Page, O] extends AnyVal

    Permalink
  10. final class StaticRouteB[Page, O] extends AnyVal

    Permalink

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. object RouteB

    Permalink

    Route builder.

    Route builder. Allows you to specify routes like "user" / int / "display". Once complete, RouteB will become a Route.

  5. object Rule extends Serializable

    Permalink
  6. object Rules extends Serializable

    Permalink
  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  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. def regexEscape(s: String): String

    Permalink

    Pattern.quote doesn't work in Scala.JS.

    Pattern.quote doesn't work in Scala.JS.

    http://stackoverflow.com/questions/2593637/how-to-escape-regular-expression-in-javascript

  19. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped