Typedef
Static Public Summary | ||
public |
Application Data |
|
public |
Application Options |
|
public |
Application Session |
|
public |
TODO: typedef |
|
public |
TODO: typedef |
|
public |
|
|
public |
Auth Service Contract TODO: typedef |
|
public |
Auth Service Options |
|
public |
|
|
public |
Basic Application Options |
|
public |
Clipboard Data |
|
public |
TODO: typedef |
|
public |
Core Options |
|
public |
Core Provider Clipboard Contract TODO: typedef |
|
public |
Core Provider Theme Contract TODO: typedef |
|
public |
Core Provider DnD Contract TODO: typedef |
|
public |
Core Provider Locale Contract TODO: typedef |
|
public |
Core Provider Middleware Contract TODO: typedef |
|
public |
Core Provider Options |
|
public |
Core Provider Packages Contract TODO: typedef |
|
public |
Core Provider Session Contract TODO: typedef |
|
public |
Core Provider Sound Contract TODO: typedef |
|
public |
Core Provider Theme Contract TODO: typedef |
|
public |
Core Provider Tray Contract TODO: typedef |
|
public |
Core Provider Window Contract TODO: typedef |
|
public |
User Data |
|
public |
Desktop Options |
|
public |
Desktop Service Contract TODO: typedef |
|
public |
TODO: typedef |
|
public |
|
|
public |
TODO: typedef |
|
public |
Desktop Viewport Rectangle |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
Filesystem Adapter Methods TODO: typedef |
|
public |
VFS Mountpoint |
|
public |
VFS Mountpoint attributes |
|
public |
Filesystem Options |
|
public |
Login Options |
|
public |
Middleware Data |
|
public |
|
|
public |
Notification Options |
|
public |
Package Launch Options |
|
public |
A package metadata |
|
public |
A registered package reference |
|
public |
|
|
public |
PreloaderEntryElement: HTMLScriptElement | HTMLLinkElement |
|
public |
|
|
public |
TODO: typedef |
|
public |
TODO: typedef |
|
public |
Settings Options |
|
public |
Settings Service Contract TODO: typedef |
|
public |
TODO: typedef |
|
public |
Tray Icon Entry |
|
public |
Tray Icon Data |
|
public |
|
|
public |
VFS Download Options |
|
public |
VFS File Object |
|
public |
VFS Method Options |
|
public |
VFS Service Contract TODO: typedef |
|
public |
Filesytem Service Contract TODO: typedef |
|
public |
VFS Service Options |
|
public |
Websocket options |
|
public |
Window attributes definition |
|
public |
Window dimension definition |
|
public |
Window options definition |
|
public |
Window position definition |
|
public |
Window session |
|
public |
Window state definition |
Static Public
public ApplicationData: Object source
Application Data
Properties:
Name | Type | Attribute | Description |
args | {foo: *} | Launch arguments |
|
options | ApplicationOptions |
|
Options |
metadata | PackageMetadata |
|
Package Metadata |
public ApplicationSession: Object source
Application Session
Properties:
Name | Type | Attribute | Description |
args | {foo: string} | ||
name | string | ||
windows | WindowSession[] |
public AuthSettings: Object source
Properties:
Name | Type | Attribute | Description |
adapter | AuthAdapterCallback | AuthAdapter |
|
Adapter to use |
login | LoginAdapterCallback | Login |
|
Login Adapter to use |
config | AuthAdapterConfig |
|
Adapter configuration |
public BasicApplicationOptions: Object source
Basic Application Options
Properties:
Name | Type | Attribute | Description |
mimeTypes | string[] |
|
What MIME types to support (all/fallback) |
loadMimeTypes | string[] |
|
What MIME types to support on load |
saveMimeTypes | string[] |
|
What MIME types to support on save |
defaultFilename | string |
|
Default filename of a new file |
public ClipboardData: Object source
Clipboard Data
Properties:
Name | Type | Attribute | Description |
type | string |
|
Optional data type |
data | * |
public CoreOptions: Object source
Core Options
Properties:
Name | Type | Attribute | Description |
root | Element |
|
The root DOM element for elements |
resourceRoot | Element |
|
The root DOM element for resources |
classNames | String[] |
|
List of class names to apply to root dom element |
splash | SplashCallback | Splash |
|
Custom callback function for creating splash screen |
public CoreProviderMiddlewareContract: Object source
Core Provider Middleware Contract TODO: typedef
public DeskopOptions: Object source
Desktop Options
Properties:
Name | Type | Attribute | Description |
contextmenu | object[] |
|
Default Context menu items |
public DesktopSettings: Object source
TODO: typedef
Properties:
Name | Type | Attribute | Description |
iconview | DesktopIconViewSettings |
|
public DraggableOptions: Object source
Properties:
Name | Type | Attribute | Description |
type | string |
|
Content Type |
effect | string |
|
DnD effect (cursor) |
ondragstart | DraggableEvent |
|
Callback to event (ev) => {} |
ondragend | DraggableEvent |
|
Callback to event (ev) => {} |
setDragImage | DraggableEvent |
|
Set custom drag image (browser dependent) |
public DroppableOptions: Object source
Properties:
Name | Type | Attribute | Description |
type | string |
|
Content Type |
effect | string |
|
DnD effect (cursor) |
ondragenter | DroppableEvent |
|
Callback to event (ev) => {} |
ondragover | DroppableEvent |
|
Callback to event (ev) => {} |
ondragleave | DroppableEvent |
|
Callback to event (ev) => {} |
ondrop | DroppedEvent |
|
Callback to event (ev, data, files) => {} |
strict | boolean |
|
Drop element must match exactly |
public FilesystemOptions: Object source
Filesystem Options
Properties:
Name | Type | Attribute | Description |
adapters | {name: FilesystemAdapterWrapper} |
|
Adapter registry |
mounts | FilesystemMountpoint[] |
|
Mountpoints |
public MiddlewareData: Object source
Middleware Data
Properties:
Name | Type | Attribute | Description |
group | string |
|
Middleware group |
public PackageLaunchOptions: Object source
Package Launch Options
Properties:
Name | Type | Attribute | Description |
forcePreload | boolean |
|
Force preload reloading |
public PackageMetadata: Object source
A package metadata
Properties:
Name | Type | Attribute | Description |
name | string | The package name |
|
category | string |
|
Package category |
icon | string |
|
Package icon |
singleton | boolean |
|
If only one instance allowed |
autostart | boolean |
|
Autostart on boot |
hidden | boolean |
|
Hide from launch menus etc. |
server | string |
|
Server script filename |
groups | string[] |
|
Only available for users in this group |
files | Object[] | string[] |
|
Files to preload |
title | {key: string} | A map of locales and titles |
|
description | {key: string} | A map of locales and titles |
public PackageReference: Object source
A registered package reference
Properties:
Name | Type | Attribute | Description |
metadata | PackageMetadata | Package metadata |
|
callback | Function | Callback to instanciate |
public PreloaderEntry: Object source
Properties:
Name | Type | Attribute | Description |
success | boolean | ||
el | PreloaderEntryElement |
|
|
entry | string |
|
|
error | string |
|
public PreloaderEntryElement: HTMLScriptElement | HTMLLinkElement source
public PreloaderResult: Object source
Properties:
Name | Type | Attribute | Description |
errors | string[] | ||
elements | {string: PreloaderEntryElement} |
public SettingsOptions: Object source
Settings Options
Properties:
Name | Type | Attribute | Description |
adapter | SettingsAdapterCallback | SettingsAdapter |
|
Adapter to use |
config | SettingsAdapterConfiguration |
|
Adapter configuration |
public SettingsServiceOptions: Object source
TODO: typedef
Properties:
Name | Type | Attribute | Description |
config | Object |
|
public TrayEntry: Object source
Tray Icon Entry
Properties:
Name | Type | Attribute | Description |
entry | TrayEntryData | The given entry data |
|
update | Function | Updates entry with given data |
|
destroy | Function | Destroy the entry |
public TrayEntryData: Object source
Tray Icon Data
Properties:
Name | Type | Attribute | Description |
key | string |
|
Used as internal index for tray entry |
icon | string |
|
Icon source |
title | string |
|
The title and tooltip |
onclick | Function |
|
The callback function for clicks |
oncontextmenu | Function |
|
The callback function for contextmenu |
public VFSDownloadOptions: Object source
VFS Download Options
Properties:
Name | Type | Attribute | Description |
readfile | boolean |
|
Set to false to force backend fetch |
public VFSServiceOptions: Object source
VFS Service Options
Properties:
Name | Type | Attribute | Description |
adapters | {name: FilesystemAdapter} |
|
|
mountpoints | FilesystemMountpoint[] |
|
public WindowAttributes: Object source
Window attributes definition
Properties:
Name | Type | Attribute | Description |
classNames | string[] |
|
A list of class names |
ontop | boolean |
|
If always on top |
gravity | string |
|
Gravity (center/top/left/right/bottom or any combination) |
resizable | boolean |
|
If resizable |
focusable | boolean |
|
If focusable |
maximizable | boolean |
|
If window if maximizable |
minimizable | boolean |
|
If minimizable |
moveable | boolean |
|
If moveable |
closeable | boolean |
|
If closeable |
header | boolean |
|
Show header |
controls | boolean |
|
Show controls |
visibility | string |
|
Global visibility, 'restricted' to hide from window lists etc. |
clamp | boolean |
|
Clamp the window position upon creation |
droppable | boolean |
|
If window should have the default drop action |
minDimension | WindowDimension |
|
Minimum dimension |
maxDimension | WindowDimension |
|
Maximum dimension |
mediaQueries | {name: string} |
|
A map of matchMedia to name |
public WindowOptions: Object source
Window options definition
Properties:
Name | Type | Attribute | Description |
id | string | Window Id (not globaly unique) |
|
title | string |
|
Window Title |
icon | string |
|
Window Icon |
parent | Window |
|
The parent Window reference |
template | string | Function |
|
The Window HTML template (or function with signature (el, win) for programatic construction) |
ondestroy | Function |
|
A callback function when window destructs to interrupt the procedure |
position | WindowPosition | string |
|
Window position |
dimension | WindowDimension |
|
Window dimension |
attributes | WindowAttributes |
|
Apply Window attributes |
state | WindowState |
|
Apply Window state |
public WindowSession: Object source
Window session
Properties:
Name | Type | Attribute | Description |
id | number | ||
maximized | boolean | ||
minimized | boolean | ||
position | WindowPosition | ||
dimension | WindowDimension |
public WindowState: Object source
Window state definition
Properties:
Name | Type | Attribute | Description |
title | string | Title |
|
icon | string | Icon |
|
moving | boolean |
|
If moving |
resizing | boolean |
|
If resizing |
loading | boolean |
|
If loading |
focused | boolean |
|
If focused |
maximized | boolean |
|
If maximized |
mimimized | boolean |
|
If mimimized |
modal | boolean |
|
If modal to the parent |
zIndex | number |
|
The z-index (auto calculated) |
position | WindowPosition |
|
Position |
dimension | WindowDimension |
|
Dimension |