Expand all

OO.ui.WindowInstance

Constructor

new OO.ui.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 OOUI documentation on MediaWiki.

Source:

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

Properties

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
Check if window is closed.

isClosing() → {boolean} #

Check if window is closing.

Source:

Returns:

Window is closing

Type
boolean
Check if window is closing.

isOpened() → {boolean} #

Check if window is opened.

Source:

Returns:

Window is opened

Type
boolean
Check if window is opened.

isOpening() → {boolean} #

Check if window is opening.

Source:

Returns:

Window is opening

Type
boolean
Check if window is opening.