@kelvininc/ui-components
Version:
Kelvin UI Components
22 lines (21 loc) • 729 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
import { IToggleSwitch, IToggleSwitchEvents, IToggleSwitchOption } from './toggle-switch.types';
import { EComponentSize } from '../../types';
/**
* @part toggle-switch-option-container - Container of toggle options.
*/
export declare class KvToggleSwitch implements IToggleSwitch, IToggleSwitchEvents {
/** @inheritdoc */
options: IToggleSwitchOption[];
/** @inheritdoc */
disabled?: boolean;
/** @inheritdoc */
size: EComponentSize;
/** @inheritdoc */
selectedOption?: string;
/** @inheritdoc */
disabledButtons?: Record<string, boolean>;
/** @inheritdoc */
checkedChange: EventEmitter<string>;
render(): any;
}