Optional
acceleratorEnable keyboard shortcuts for devtools, zoom, reload, and reload ignoring cache.
Configurations for API injection.
Autoplay policy to apply to content in the window, can be
no-user-gesture-required
, user-gesture-required
,
document-user-activation-required
. Defaults to no-user-gesture-required
.
Initial bounds given relative to the window.
Platforms Only.
Determines what happens when a view is closed in a platform window.
Supersedes the deprecated detachOnClose
.
If not set, detaults to destroy
if detachOnClose
is false (default), or detach
if detachOnClose
is true.
While this option is not updateable, it may change at runtime if detachOnClose
is updated.
'hide' hides the view on the platform window that closed it.
'detach' behaves like 'detachOnClose': true. It attaches the closed view to the platform provider.
'destroy' is the default behavior as long as 'detachOnClose' is not set. It destroys the view.
Configures how new content (e,g, from window.open
or a link) is opened.
Custom headers for requests sent by the view.
Controls interaction of the view with its parent window's download shelf.
Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
If enabled: true
, downloads from this view will cause the download shelf to display
on the parent window even if that parent window's DownloadShelfOptions specify
enabled: false
.
Control which options to ignore when creating a Platform View.
Optional
fdc3Defines the hotkeys that will be emitted as a hotkey
event on the view. For usage example, see hotkeys Example.
Within Platform, OpenFin also implements a set of pre-defined actions called
keyboard commands
that can be assigned to a specific hotkey in the platform manifest.
Platforms Only. Url to a manifest that contains View Options. Properties other than manifestUrl can still be used but the properties in the manifest will take precedence if there is any collision.
The name of the view.
API permissions for code running in the view.
Scripts that run before page load. When omitted, inherits from the parent application.
String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
The identity of the window this view should be attached to.
Defaults to name
.
Ignored in container, but used in @openfin/core-web to set tab titles.
Order of precedence for title in container is: document.title, viewOptions.url.
Order of precedence for title in @openfin/core-web is ComponentConfig.title, viewOptions.title, viewOptions.url.
View options that cannot be updated after creation.