The DocumentController is responsible for all communication regarding the Document. Methods inside this controller can be called by window.SDK.document.{method-name}

Hierarchy

  • DocumentController

Methods

  • This method will load a provided document in the ChiliDocument format and clean old document states. If you set DocumentLoadOptions.keepConnectors to true, load will keep your old connectors states e.g. options, authentication.. By default keepConnectors is false and your connectors states are reset. In this case, you would need to configure your connectors appropriately beforehand.

    Returns

    the document loaded inside of the canvas

    Parameters

    Returns Promise<EditorResponse<null>>

Generated using TypeDoc