Class: WindowInstance

.ui.WindowInstance()

new WindowInstance()

A window instance represents the life cycle for one single opening of a window until its closing.

While OO.ui.WindowManager will reuse OO.ui.Window objects, each time a window is opened, a new lifecycle starts.

For more information, please see the OOjs UI documentation on MediaWiki.

Source:

Members

closed

Properties:
Type Description
jQuery.Promise
Source:

closing

Properties:
Type Description
jQuery.Promise
Source:

opened

Properties:
Type Description
jQuery.Promise
Source:

opening

Properties:
Type Description
jQuery.Promise
Source:

Methods

isClosed() → {boolean}

Check if window is closed.

Source:
Returns:

Window is closed

Type
boolean

isClosing() → {boolean}

Check if window is closing.

Source:
Returns:

Window is closing

Type
boolean

isOpened() → {boolean}

Check if window is opened.

Source:
Returns:

Window is opened

Type
boolean

isOpening() → {boolean}

Check if window is opening.

Source:
Returns:

Window is opening

Type
boolean