Interface OptionsCore
baseApplication?: string;
classes?: string[];
defaultCloseAnimation?: boolean;
dragDrop?: {
callbacks?: {
dragover?: Function;
dragstart?: Function;
drop?: Function;
};
dragSelector?: string;
dropSelector?: string;
}[];
draggable?: boolean;
filters?: SearchFilterConfiguration[];
focusAuto?: boolean;
focusKeep?: boolean;
focusSource?: A11yFocusSource;
focusTrap?: boolean;
headerButtonNoClose?: boolean;
headerButtonNoLabel?: boolean;
headerIcon?: string;
headerNoTitleMinimized?: boolean;
height?: string
| number;
id?: string;
left?: string | number;
maxHeight?: string | number;
maxWidth?: string | number;
minHeight?: string | number;
minimizable?: boolean;
minWidth?: string | number;
popOut?: boolean;
positionable?: boolean;
positionInitial?: InitialSystem;
positionOrtho?: boolean;
positionValidator?: ValidatorOption;
resizable?: boolean;
rotateX?: string | number;
rotateY?: string | number;
rotateZ?: string | number;
rotation?: string | number;
scale?: number;
scrollY?: string[];
sessionStorage?: WebStorage;
tabs?: TabsOptions[];
template?: string;
title?: string;
top?: string | number;
transformOrigin?: TransformOrigin;
width?: string | number;
}
Hierarchy
- Partial<ApplicationOptions>
- OptionsCore (View Summary)
Index
Properties
Properties
Optional
baseApplication
A named "base application" which generates an additional hook
Optional
classes
An array of CSS string classes to apply to the rendered HTML
Optional
defaultCloseAnimation
If false the default slide close animation is not run.
Optional
dragDrop
Optional
draggable
If true then application shells are draggable.
Optional
filters
filters An array of SearchFilter configuration objects.
Optional
focusAuto
When true auto-management of app focus is enabled.
Optional
focusKeep
When focusAuto
and focusKeep
is true; keeps internal focus.
Optional
focusSource
Defines A11yHelper focus source to apply when application closes.
@defaultValue: undefined
Optional
focusTrap
When true focus trapping / wrapping is enabled keeping focus inside app.
Optional
headerButtonNoClose
If true then the close header button is removed.
Optional
headerButtonNoLabel
If true then header button labels are removed.
Optional
headerIcon
Sets a header icon given an image URL.
Optional
headerNoTitleMinimized
If true then header title is hidden when minimized.
Optional
height
The default pixel height for app.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for relative values supported.
Optional
id
The default CSS id to assign to the rendered HTML
Optional
left
The default left offset position for app.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for relative values supported.
Optional
maxHeight
Assigned to position. Number specifying maximum window height.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for relative values supported.
Optional
maxWidth
Assigned to position. Number specifying maximum window width.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for relative values supported.
Optional
minHeight
Assigned to position. Number specifying minimum window height.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for relative values supported.
Optional
minimizable
Whether the rendered application can be minimized (popOut only)
Optional
minWidth
Assigned to position. Number specifying minimum window width.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for relative values supported.
Optional
popOut
Whether to display the application as a pop-out container
Optional
positionable
If false then position.set
does not take effect.
Optional
positionInitial
A helper for initial position placement.
Optional
positionOrtho
When true TJSPosition is optimized for orthographic use.
Optional
positionValidator
A validator function or data or list of validators.
Optional
resizable
Whether the rendered application can be drag-resized (popOut only)
Optional
rotateX
Assigned to position. Number specifying the window rotation around the X-axis in degrees.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for values supported.
Optional
rotateY
Assigned to position. Number specifying the window rotation around the Y-axis in degrees.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for values supported.
Optional
rotateZ
Assigned to position. Number specifying the window rotation around the Z-axis in degrees.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for values supported.
Optional
rotation
Assigned to position. Number specifying the window rotation around the Z-axis in degrees. Alias for rotateZ
.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for values supported.
Optional
scale
A transformation scale for the rendered HTML
Optional
scrollY
A list of unique CSS selectors which target containers that should have their vertical scroll positions preserved during a re-render.
Optional
sessionStorage
An instance of WebStorage (session) to share across SvelteApps. This is only required to share a WebStorage instance across multiple SvelteApps. By default, a unique #runtime/svelte/store/web-storage!TJSSessionStorage instance is created per SvelteApp.
Optional
tabs
Track Tab navigation handlers which are active for this Application
Optional
template
The default HTML template path to render for this Application
Optional
title
A default window title string (popOut only)
Optional
top
The default top offset position for app.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for relative values supported.
Optional
transformOrigin
By default, 'top / left' respects rotation when minimizing.
Optional
width
The default pixel height for app.
When defined as a string see TJSPosition.API.Data.TJSPositionDataRelative for relative values supported.
Base options for SvelteApp. Defines all core options not related to defining a Svelte component to load. It is useful to use
OptionsCore
when defining APIs of extended classes that internally handle loading a Svelte component where the intention is to only allow modification of other core options.