Interface NavFromRule

Matches any navigation where the old URL matches the route in from

interface NavFromRule {
    class?: string;
    from: string;
    type: ExtendedNavigationType;
}

Hierarchy

  • NavRule
    • NavFromRule

Properties

Properties

class?: string

If provided, the class (with a vt- prefix) would be applied for the duration of the view transition if the navigation was matched.

from: string

A navigation type to match. Supports either standard NavigationType values, with a few additions:

  • "back" matches a "traverse" navigation of -1.
  • "forward" matches a "traverse" navigation of 1.
  • "auto" matches any navigation apart from "reload".

Generated using TypeDoc