Interface for components that are routed to and are registered with the RouteRegistry service.

Hierarchy

Properties

The context this component belongs to

hash?: string

The URL fragment identifier

Reference to the platform

query?: Record<string, unknown>

Query parameters from the route URL

state?: unknown

The history state

titleChanged?: {
    emit: ((data?: string) => CustomEvent<string>);
}

When emitted, changes the document title property

Type declaration

  • emit: ((data?: string) => CustomEvent<string>)
      • (data?: string): CustomEvent<string>
      • Parameters

        • Optional data: string

        Returns CustomEvent<string>