NavigationStack
A container view that shows a main screen and lets the user open other screens on top of it.
ts
interface NavigationStackSignature {
Slots: {
default: HTMLElement[] // The default slot
}
}
class NavigationStack extends HTMLElement<NavigationStackSignature> {}
declare global {
interface HTMLElementTagNameMap {
'navigation-stack': NavigationStack // <navigation-stack></navigation-stack>
}
}