Class

japgolly.scalajs.react.extra.router.StaticDsl

RouteBO

Related Doc: package StaticDsl

Permalink

final class RouteBO[A] extends AnyVal

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

Instance Constructors

  1. new RouteBO(r: RouteB[Option[A]])

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. def parseDefault(default: ⇒ A): RouteB[A]

    Permalink

    Specify a default value when parsing.

    Specify a default value when parsing.

    Note: Unlike withDefault() path generation will still explicitly include the default value.

    Eg. If the path is like "/file[.format]" and the default is JSON, "/file" will be read as "/file.json", but when generating a path with JSON this will generate "/file.json" instead of "/file".

  8. def toString(): String

    Permalink
    Definition Classes
    Any
  9. def withDefault(default: ⇒ A): RouteB[A]

    Permalink

    Specify a default value.

    Specify a default value.

    Note: Unlike parseDefault() this will affect path generation too.

    Eg. If the path is like "/file[.format]" and the default is JSON, "/file" will be read as "/file.json", and when generating a path with JSON this will generate "/file" instead of "/file.json".

    Make sure the type has a useful .equals() implementation. Example: default == default should be true.

Inherited from AnyVal

Inherited from Any

Ungrouped