Interface External<App>
interface External<App extends SvelteApplication = SvelteApplication> {
application: App;
elementRootUpdate: () => (elementRoot: HTMLElement) => boolean;
sessionStorage: WebStorage;
}
application: App;
elementRootUpdate: () => (elementRoot: HTMLElement) => boolean;
sessionStorage: WebStorage;
}
Type Parameters
- App extends SvelteApplication = SvelteApplication
Index
Properties
Properties
application
The external application instance.
elementRootUpdate
Create a function to generate a callback for Svelte components to invoke to update the tracked elements for
application shells in the external application instance. There are rare cases that the main element root
changes in a mounted application component. The update is only triggered on successive changes of
elementRoot
. Returns a boolean to indicate the element roots are updated.
sessionStorage
The session storage store manager associated with the external application.
The
#external
context.