Expand all

ve.ui.MobileWindowManager

Extends

Constructor

new ve.ui.MobileWindowManager(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 mobile windows.

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.

Inherited from:
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.

Inherited from:
Source:

Returns:

Surface this belongs to

Type
ve.ui.Surface
Get surface.