Class ItemForm

Item Form

Hierarchy

  • ItemForm

Constructors

Properties

_controlMode: number = null
_displayForms: IListFormDisplay[] = null
_editForms: IListFormEdit[] = null
_elForm: HTMLElement = null
_info: any = null
_listName: string = null
_onCreateEditForm: ((props) => IListFormEditProps) = null

Type declaration

    • (props): IListFormEditProps
    • Parameters

      • props: IListFormEditProps

      Returns IListFormEditProps

_onCreateViewForm: ((props) => IListFormDisplayProps) = null

Type declaration

    • (props): IListFormDisplayProps
    • Parameters

      • props: IListFormDisplayProps

      Returns IListFormDisplayProps

_onFormButtonsRendering: ((buttons) => IButtonProps[]) = null

Type declaration

    • (buttons): IButtonProps[]
    • Parameters

      • buttons: IButtonProps[]

      Returns IButtonProps[]

_onGetListInfo: ((props) => IListFormProps) = null

Type declaration

    • (props): IListFormProps
    • Parameters

      • props: IListFormProps

      Returns IListFormProps

_onSave: ((values) => any) = null

Type declaration

    • (values): any
    • Parameters

      • values: any

      Returns any

_onSetFooter?: ((el) => void) = null

Type declaration

    • (el): void
    • Parameters

      • el: HTMLElement

      Returns void

_onSetHeader?: ((el) => void) = null

Type declaration

    • (el): void
    • Parameters

      • el: HTMLElement

      Returns void

_onShowForm?: ((form?) => void) = null

Type declaration

_onValidation: ((values?, isValid?) => boolean | PromiseLike<boolean>) = null

Type declaration

    • (values?, isValid?): boolean | PromiseLike<boolean>
    • Parameters

      • Optional values: any
      • Optional isValid: boolean

      Returns boolean | PromiseLike<boolean>

_requestDigest: string = null
_tabInfo: IItemFormTabInfo = null
_tabs: IListGroup = null
_updateEvent: Function = null
_useModal: boolean = false

Accessors

Methods

  • Private Methods

    Parameters

    • Optional webUrl: string
    • Optional itemId: number

    Returns PromiseLike<void>

  • Parameters

    • props: IListFormProps

    Returns PromiseLike<void>

  • Parameters

    • values: any
    • isValid: boolean

    Returns PromiseLike<boolean>

Generated using TypeDoc