@kelvininc/ui-components
Version:
Kelvin UI Components
23 lines (22 loc) • 722 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
import { EComponentSize } from '../../utils/types';
import { ISwitchButton, ISwitchButtonEvents } from './switch-button.types';
/**
* @part icon-svg - The switch icon.
* @part icon-square - The switch icon square container.
* @part button - The switch button.
*/
export declare class KvSwitchButton implements ISwitchButton, ISwitchButtonEvents {
/** @inheritdoc */
disabled: boolean;
/** @inheritdoc */
checked: boolean;
/** @inheritdoc */
size: EComponentSize;
/** @inheritdoc */
switchChange: EventEmitter<boolean>;
private onSwitchClick;
private onStateChange;
connectedCallback(): void;
render(): any;
}