Form

Hierarchy

  • IForm

Properties

appendControls: ((controls) => void)

Type declaration

    • (controls): void
    • Appends controls to the form

      Parameters

      Returns void

appendRows: ((rows) => void)

Type declaration

    • (rows): void
    • Appends rows to the form

      Parameters

      Returns void

controls: IFormControl[]

The form controls

el: HTMLFormElement

The form element

getControl: ((name) => IFormControl)

Type declaration

getValues: (() => {
    [key: string]: any;
})

Type declaration

    • (): {
          [key: string]: any;
      }
    • Returns the form values

      Returns {
          [key: string]: any;
      }

      • [key: string]: any
hide: (() => void)

Type declaration

    • (): void
    • Hides the form.

      Returns void

insertControl: ((idx, control) => void)

Type declaration

    • (idx, control): void
    • Inserts a control into the form

      Parameters

      Returns void

isValid: (() => boolean)

Type declaration

    • (): boolean
    • Validates the form

      Returns boolean

show: (() => void)

Type declaration

    • (): void
    • Shows the form.

      Returns void

Generated using TypeDoc