Extends
Constructor
new ve.ui.ToolbarDialogWindowManager(surface, [config])
#
Hierarchy
Window manager for toolbar dialogs.
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
surface |
ve.ui.Surface | Surface this belongs to |
|||||||||
config |
Object |
optional |
Configuration options Properties:
|
Window manager for toolbar dialogs.
Properties
All possible toolbar positions.
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
}
#
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.
getSurfacePadding() → {ve.ui.Surface.Padding|null
}
#
null
}
#
Get an object describing the amount of padding the toolbar dialog adds to the surface.
Returns:
Padding object
- Type
-
ve.ui.Surface.Padding
|
null
Get an object describing the amount of padding the toolbar dialog adds to the surface.