Setting
#
Constructorconstructor(containerEl: HTMLElement);
#
Properties#
settingElsettingEl: HTMLElement
#
infoElinfoEl: HTMLElement
#
nameElnameEl: HTMLElement
#
descEldescEl: HTMLElement
#
controlElcontrolEl: HTMLElement
#
componentscomponents: BaseComponent[]
#
Methods#
setNamesetName(name: string | DocumentFragment): this;
#
setDescsetDesc(desc: string | DocumentFragment): this;
#
setClasssetClass(cls: string): this;
#
setTooltipsetTooltip(tooltip: string): this;
#
setHeadingsetHeading(): this;
#
setDisabledsetDisabled(disabled: boolean): this;
#
addButtonaddButton(cb: (component: ButtonComponent) => any): this;
#
addExtraButtonaddExtraButton(cb: (component: ExtraButtonComponent) => any): this;
#
addToggleaddToggle(cb: (component: ToggleComponent) => any): this;
#
addTextaddText(cb: (component: TextComponent) => any): this;
#
addSearchaddSearch(cb: (component: SearchComponent) => any): this;
#
addTextAreaaddTextArea(cb: (component: TextAreaComponent) => any): this;
#
addMomentFormataddMomentFormat(cb: (component: MomentFormatComponent) => any): this;
#
addDropdownaddDropdown(cb: (component: DropdownComponent) => any): this;
#
addSlideraddSlider(cb: (component: SliderComponent) => any): this;
#
thenthen(cb: (setting: this) => any): this;
Facilitates chaining
#
clearclear(): this;