Page object for custom editors

Hierarchy (view full)

Constructors

Properties

elem$: ChainablePromiseElement<Element>
elem$$: ChainablePromiseArray<Element[]>
inputArea$: ChainablePromiseElement<Element>
inputArea$$: ChainablePromiseArray<Element[]>
title$: ChainablePromiseElement<Element>
title$$: ChainablePromiseArray<Element[]>
view: EditorView | EditorGroup = ...

Accessors

  • get elem(): ChainablePromiseElement<Element>
  • Base element of given page object

    Returns ChainablePromiseElement<Element>

  • get parent(): ChainablePromiseElement<Element>
  • Parent element of given page object

    Returns ChainablePromiseElement<Element>

Methods

  • Check if the editor has unsaved changes

    Returns Promise<boolean>

    Promise resolving to true if there are unsaved changes, false otherwise

  • Poll for the element to become visible

    Parameters

    • timeout: number = 10000

      custom timeout for the wait

    • interval: number = 2000

      custom interval to control polling

    Returns Promise<CustomEditor>

    thenable self reference

Generated using TypeDoc