table/tablescroll/watchers
module
Functions
watchRootsWidthResize( view, onResize ) → () => voidinternalmodule:table/tablescroll/watchers~watchRootsWidthResizeObserves the DOM width of every editing root and calls
onResizewhenever any of them changes width. Height-only changes are ignored, since only a root's width can make a table overflow it.Parameters
view : EditingViewonResize : () => void
Returns
() => void
watchTableModelElements( model ) → Collection<ModelElement>internalmodule:table/tablescroll/watchers~watchTableModelElementsCreates a live collection of all
tablemodel elements present in the document and keeps it up to date as tables are inserted, moved, or removed.Parameters
model : Model
Returns