Helper Methods

Hierarchy

  • IHelper

Properties

renderEditForm: ((el, wpCfg, formControls) => IForm)

Type declaration

    • (el, wpCfg, formControls): IForm
    • Method to render the edit form.

      Parameters

      • el: HTMLElement

        The element to render the form to.

      • wpCfg: IWebPartCfg

        The webpart configuration information.

      • formControls: IFormControlProps[]

        The form controls to render.

      Returns IForm

Methods

  • Method to get the webpart id for a specified element

    Parameters

    • el: HTMLElement

      The target element.

    Returns string

  • Method to save the webpart configuration. This method may execute a postback, based on the page type.

    Parameters

    • wpId: string

      The webpart id.

    • Optional cfgId: string
    • Optional wpCfg: any

      The webpart configuration.

    Returns PromiseLike<void>

  • Method to update the configuration element

    Parameters

    • cfgId: string
    • elTarget: HTMLInputElement

      The target element.

    • wpCfg: any

      The webpart configuration.

    Returns any

  • Method to update the webpart content elements

    Parameters

    • wpId: string

      The webpart id.

    • Optional cfgId: string
    • Optional wpCfg: any

      The webpart configuration.

    Returns boolean

Generated using TypeDoc