Expand all

ve.ui.SurfaceWindowManager

Extends

Constructor

new ve.ui.SurfaceWindowManager(surface, [config]) #

Parameters:

Name Type Attributes Description
surface ve.ui.Surface

Surface this belongs to

config Object optional

Configuration options

Properties:
Name Type Attributes Description
overlay ve.ui.Overlay optional

Overlay to use for menus

Source:
Window manager for desktop inspectors.

Methods

getDir() → {string} #

Override the window manager's directionality method to get the directionality from the surface. The surface sometimes does not have a directionality set; fallback to direction from the document.

Overrides:
Source:

Returns:

UI directionality

Type
string

Override the window manager's directionality method to get the directionality from the surface.

getOverlay() → {ve.ui.Overlay|null} #

Get overlay for menus.

Inherited from:
Source:

Returns:

Menu overlay, null if none was configured

Type
ve.ui.Overlay | null
Get overlay for menus.

getSurface() → {ve.ui.Surface} #

Get surface.

Source:

Returns:

Surface this belongs to

Type
ve.ui.Surface
Get surface.