Interface ChainItem<T, R, C>

An item of the resolved route sequence.

interface ChainItem<T, R, C> {
    element?: Element;
    path: string;
    route: Route<T, R, C>;
}

Type Parameters

  • T

    The type of the result produced by the route.

  • R extends object

    The type of additional route-specific data. Defaults to an empty object.

  • C extends object

    The type of user-defined context-specific data. Defaults to an empty object.

Properties

Properties

element?: Element

A DOM element associated with the route.

path: string

The path of the route.

route: Route<T, R, C>

The route object containing route-specific information.