Documentation

Editor

Abstract class for editors in timeline.

BX.UI.Timeline.Editor

This class cannot be used in this format, it must be inherited.

Descendant is comment editor.

Methods

Method Description Available from version
constructor(params: {})Constructor.

Parameters:

  • params - editor parameters
    • id - editor ID.
getId(): stringReturns editor ID.
getTitle(): ?stringReturns editor title.
getContainer(): ?ElementReturns DOM element, when editor is rendered.
render(): ElementRenders an editor.
clearLayout(isSkipContainer: boolean = false): EditorClears container content and deletes it from document. When passing true, container is also cleaned and deleted.
startProgress()Shows loader and saves ajax query processing status.
stopProgress()Hides loader and resets ajax query processing status.
getLoader()Returns object BX.Loader.


© «Bitrix24», 2001-2024
Up