Interface IWebPartProps<IWPInfo, IWPEditForm>

WebPart Properties

Type Parameters

Hierarchy

Properties

cfgElementId?: string

The optional configuration element

className?: string

The class name.

editForm?: IWPEditForm

The edit form

elementId?: string

The target element id to render the webpart to

helpProps?: {
    title?: string;
    url: string;
}

The optional help link properties

Type declaration

  • Optional title?: string

    The link title

  • url: string

    The link url

onPostRender?: ((wp, ...args) => void)

Type declaration

    • (wp, ...args): void
    • The post render event

      Parameters

      • wp: IWPInfo
      • Rest ...args: any[]

      Returns void

onRenderDisplay?: ((wp) => any)

Type declaration

    • (wp): any
    • The render event triggered when the page is in 'Display' mode

      Parameters

      • wp: IWPInfo

      Returns any

onRenderEdit?: ((wp) => any)

Type declaration

    • (wp): any
    • The render event triggered when the page is in 'Edit' mode

      Parameters

      • wp: IWPInfo

      Returns any

onRenderForm?: ((form, wp?) => any)

Type declaration

    • (form, wp?): any
    • The render form event triggered when the form is created

      Parameters

      • form: IForm
      • Optional wp: IWPInfo

      Returns any

wpClassName?: string

The webpart class name

Generated using TypeDoc