This controller is experimental and may change without warning. The ComponentController is responsible for all communication regarding Component frames. Methods inside this controller can be called by window.SDK.component.{method-name}

Methods

  • Experimental

    This method will link (or unlink) a variable from the template to the component frame

    Parameters

    • frameId: string
    • target: string

      the id of the variable, inside the component, that will be linked (or unlinked) to the source variable.

    • Optionalsource: string

      the id of the source variable from the template. If not provided, the variable will be unlinked.

    Returns Promise<EditorResponse<null>>