Constructors
Properties
table
table: HTMLTableElement
Methods
addButtons
- addButtons(okFunct, cancelFunct): void
Parameters
- okFunct: Function
- cancelFunct: Function
Returns void
addCheckbox
- addCheckbox(name, value): HTMLInputElement
Parameters
- name: string
- value: boolean
Returns HTMLInputElement
addCombo
- addCombo(name, isMultiSelect, size?): HTMLSelectElement
Parameters
- name: string
- isMultiSelect: boolean
Optional
size: number
Returns HTMLSelectElement
addField
- addField(name, input): Element
Parameters
- name: string
- input: Element
Returns Element
addOption
- addOption(combo, label, value, isSelected?): void
Parameters
- combo: HTMLElement
- label: string
- value: any
Optional
isSelected: boolean
Returns void
addText
- addText(name, value, type?): HTMLInputElement
Parameters
- name: string
- value: any
- type: string = 'text'
Returns HTMLInputElement
addTextarea
- addTextarea(name, value, rows): HTMLTextAreaElement
Parameters
- name: string
- value: string
- rows: number
Returns HTMLTextAreaElement
getTable
- getTable(): HTMLTableElement
Returns HTMLTableElement
A simple class for creating HTML forms.
MaxForm