object Route

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

Type Members

  1. trait Props extends Object
    Annotations
    @JSType()

Value Members

  1. def always(element: ReactNode): ReactElement

    Path is *.

  2. def apply(path: String, element: ReactNode): ReactElement

    Non-specialized version.

  3. def apply(props: Props): ReactElement
  4. def descendant(path: String, element: ReactNode): ReactElement

    Appends slash asterisk to the path.

    Appends slash asterisk to the path. Your element should *not* use Outlet.

  5. def index(element: ReactNode): ReactElement

    Uses / as the path.

    Uses / as the path. Typically used with nested route parent to render at the root of the parent.

  6. def indexNested(element: ReactNode)(children: ReactNode*): ReactElement

    Use slash asterisk as the path.

    Use slash asterisk as the path. element should use Outlet.

  7. def nested(path: String, element: ReactNode)(children: ReactNode*): ReactElement

    Children should be Route nodes.

    Children should be Route nodes. element should use Outlet to show selected child.

  8. def nested(props: Props)(children: ReactNode*): ReactElement

    Use Route children.

  9. object JS extends Object with ReactJSComponent
    Annotations
    @native() @JSImport("react-router", "Route")