Class: Window

Window

new Window(options, callbackopt, errorCallbackopt)

Creates a new OpenFin Window

A basic window that wraps a native HTML window. Provides more fine-grained control over the window state such as the ability to minimize, maximize, restore, etc. By default a window does not show upon instantiation; instead the window's show() method must be invoked manually. The new window appears in the same process as the parent window.

Parameters:
Name Type Attributes Description
options Object

The options of the window. See the tutorial.

callback function <optional>

called if the method succeeds.

errorCallback function <optional>

called if the method fails. The reason for failure is passed as an argument.

Tutorials: