Methods
getActionWidgetConfig()
#
- Source:
- See:
getFragment() → {ve.dm.SurfaceFragment|null}
#
null}
#
Get the surface fragment the window is for.
Returns:
Surface fragment the window is for, null if the window is closed
- Type
-
ve.dm.SurfaceFragment
|
null
- Source:
Get the surface fragment the window is for.
getMode() → {string}
#
Get a symbolic mode name.
By default will return 'edit' if #isEditing is true, and 'insert' otherwise.
If the surface model is in read-only mode, will return 'readonly'.
Returns:
Symbolic mode name
- Type
- string
- Source:
Get a symbolic mode name.
getSetupProcess()
#
getTeardownProcess()
#
- Source:
- See:
isEditing() → {boolean}
#
Check if the current fragment is editable by this window.
Returns:
Fragment is editable by this window
- Type
- boolean
- Source:
Check if the current fragment is editable by this window.
isReadOnly() → {boolean}
#
Check if the fragment's surface is readOnly
Returns:
Fragment's surface is readOnly
- Type
- boolean
- Source:
Check if the fragment's surface is readOnly