table/utils/ui/widget
module
Functions
-
getSelectedTableWidget( selection ) → null | ViewElement
internalmodule:table/utils/ui/widget~getSelectedTableWidget
Returns a table widget editing view element if one is selected.
Parameters
selection : ViewDocumentSelection
Returns
null | ViewElement
-
getSelectionAffectedTableWidget( selection ) → null | ViewElement
internalmodule:table/utils/ui/widget~getSelectionAffectedTableWidget
Depending on the position of the selection either return the selected table or the table higher in the hierarchy.
Parameters
selection : ViewDocumentSelection
Returns
null | ViewElement
-
getTableWidgetAncestor( selection ) → null | ViewElement
internalmodule:table/utils/ui/widget~getTableWidgetAncestor
Returns a table widget editing view element if one is among the selection's ancestors.
Parameters
selection : ViewDocumentSelection
Returns
null | ViewElement