Control
Parent control
Constructor
Control(config: ControlConfig = {})
Control(config: ControlConfig = {})
Methods
addTo(target: HTMLElement): void
addTo(target: HTMLElement): void
Appends the control to the DOM as a child of the given target
.
prependTo(target: HTMLElement): void
prependTo(target: HTMLElement): void
Prepends the control to the DOM as a child of the given target
.
remove(): void
remove(): void
Removes the control from the DOM.
setConfig(config: ControlConfig): void
setConfig(config: ControlConfig): void
Updates the control config.
Last updated