Type Alias SvelteApplicationOptions
defaultCloseAnimation?: boolean;
draggable?: boolean;
focusAuto?: boolean;
focusKeep?: boolean;
focusSource?: A11yFocusSource;
focusTrap?: boolean;
headerButtonNoClose?: boolean;
headerButtonNoLabel?: boolean;
headerIcon?: string;
headerNoTitleMinimized?: boolean;
minHeight?: number;
minWidth?: number;
positionable?: boolean;
positionInitial?: InitialSystem;
positionOrtho?: boolean;
positionValidator?: ValidatorOption;
sessionStorage?: WebStorage;
svelte?: TJSSvelteConfig;
transformOrigin?: TransformOrigin;
}
Type declaration
Optional
defaultClose ?: booleanAnimation If false the default slide close animation is not run.
Optional
draggable?: booleanIf true then application shells are draggable.
Optional
focusAuto ?: booleanWhen true auto-management of app focus is enabled.
Optional
focusKeep ?: booleanWhen
focusAuto
andfocusKeep
is true; keeps internal focus.Optional
focusSource ?: A11yFocusSource- Defines A11yHelper focus source to apply when application closes.
Optional
focusTrap ?: booleanWhen true focus trapping / wrapping is enabled keeping focus inside app.
Optional
headerButton ?: booleanNo Close If true then the close header button is removed.
Optional
headerButton ?: booleanNo Label If true then header button labels are removed.
Optional
headerIcon ?: stringSets a header icon given an image URL.
Optional
headerNo ?: booleanTitle Minimized If true then header title is hidden when minimized.
Optional
minHeight ?: numberAssigned to position. Number specifying minimum window height.
Optional
minWidth ?: numberAssigned to position. Number specifying minimum window width.
Optional
positionable?: booleanIf false then
position.set
does not take effect.Optional
positionInitial ?: InitialSystemA helper for initial position placement.
Optional
positionOrtho ?: booleanWhen true TJSPosition is optimized for orthographic use.
Optional
positionValidator ?: ValidatorOptionA validator function or data or list of validators.
Optional
sessionStorage ?: WebStorageAn instance of WebStorage (session) to share across SvelteApplications. This is only required to share a WebStorage instance across multiple SvelteApplications. By default, a unique TJSSessionStorage instance is created per SvelteApplication.
Optional
svelte?: TJSSvelteConfigA Svelte configuration object defining the main component.
Optional
transformOrigin ?: TransformOriginBy default, 'top / left' respects rotation when minimizing.
Options for SvelteApplication. Note: that this extends the Foundry ApplicationOptions.