UNPKG

smoosic

Version:

<sub>[Github site](https://github.com/Smoosic/smoosic) | [source documentation](https://smoosic.github.io/Smoosic/release/docs/modules.html) | [change notes](https://aarondavidnewman.github.io/Smoosic/changes.html) | [application](https://smoosic.github.i

54 lines 1.51 kB
import { SuiComponentBase, SuiDialogNotifier, SuiComponentParent } from './baseComponent'; /** * parameters for simple on-off toggle * @category SuiDialog */ export interface SuiToggleComponentParams { id: string; classes: string; type?: string; increment?: number; label: string; smoName: string; control: string; } /** * Simple boolean checkbox component * @category SuiDialog */ export declare class SuiToggleComponent extends SuiComponentBase { defaultValue: boolean; constructor(dialog: SuiDialogNotifier, parameter: SuiToggleComponentParams); get html(): import("../../../common/htmlHelpers").DomBuilder; _getInputElement(): any; setValue(value: boolean): void; getValue(): any; bind(): void; } /** * Params for toggle combined with another component * @category SuiDialog */ export interface SuiToggleCompositeParams { id: string; classes: string; type?: string; increment?: number; label: string; smoName: string; control: string; disabledOption?: string; defaultValue?: string | number; dataType?: string; parentControl: SuiComponentParent; } /** * Dropdown component that can be part of a composite control. * @category SuiDialog */ export declare class SuiToggleComposite extends SuiToggleComponent { parentControl: SuiComponentParent; constructor(dialog: SuiDialogNotifier, parameters: SuiToggleCompositeParams); handleChanged(): void; } //# sourceMappingURL=toggle.d.ts.map