Classes
AbstractEditorAnnotationCommandCommandComponentConfiguratorContainerEditorContainerSelectionDOMImporterDocumentDocumentNodeEditAnnotationCommandEditingEventEmitterInsertInlineNodeCommandNodeIndexPropertyAnnotationPropertySelectionProseEditorScrollPaneSelectionSpellCheckCommandSurfaceTextNodeTransactionDocumentVirtualElement
Components
Modules
BodyScrollPane
Component defined in packages/body-scroll-pane/BodyScrollPane.js#25 inherits from
Wraps content in a scroll pane.
Props
scrollbarType | String | 'native' or 'substance' for a more advanced visual scrollbar. Defaults to 'native' |
Example
$$(BodyScrollPane).append(
content,
$$(ContextMenu)
$$(Overlay)
)
this.getHeight()
Method defined in packages/body-scroll-pane/BodyScrollPane.js#52
Returns the height of scrollPane (inner content overflows)
this.getContentHeight()
Method defined in packages/body-scroll-pane/BodyScrollPane.js#59
Returns the cumulated height of a panel's content
this.getScrollPosition()
Method defined in packages/body-scroll-pane/BodyScrollPane.js#77
Get current scroll position (scrollTop) of .se-scrollable
element
Get offset relative to .se-content
.
Parameters
el | DOMNode | DOM node that lives inside the |
this.scrollTo(componentId)
Method defined in packages/body-scroll-pane/BodyScrollPane.js#99
Scroll to a given sub component.
Parameters
componentId | String | component id, must be present in data-id attribute |