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
OptionaldefaultClose ?: booleanAnimation If false the default slide close animation is not run.
Optionaldraggable?: booleanIf true then application shells are draggable.
OptionalfocusAuto ?: booleanWhen true auto-management of app focus is enabled.
OptionalfocusKeep ?: booleanWhen
focusAutoandfocusKeepis true; keeps internal focus.OptionalfocusSource ?: A11yFocusSource- Defines A11yHelper focus source to apply when application closes.
OptionalfocusTrap ?: booleanWhen true focus trapping / wrapping is enabled keeping focus inside app.
OptionalheaderButton ?: booleanNo Close If true then the close header button is removed.
OptionalheaderButton ?: booleanNo Label If true then header button labels are removed.
OptionalheaderIcon ?: stringSets a header icon given an image URL.
OptionalheaderNo ?: booleanTitle Minimized If true then header title is hidden when minimized.
OptionalminHeight ?: numberAssigned to position. Number specifying minimum window height.
OptionalminWidth ?: numberAssigned to position. Number specifying minimum window width.
Optionalpositionable?: booleanIf false then
position.setdoes not take effect.OptionalpositionInitial ?: InitialSystemA helper for initial position placement.
OptionalpositionOrtho ?: booleanWhen true TJSPosition is optimized for orthographic use.
OptionalpositionValidator ?: ValidatorOptionA validator function or data or list of validators.
OptionalsessionStorage ?: 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.
Optionalsvelte?: TJSSvelteConfigA Svelte configuration object defining the main component.
OptionaltransformOrigin ?: TransformOriginBy default, 'top / left' respects rotation when minimizing.
Options for SvelteApplication. Note: that this extends the Foundry ApplicationOptions.