@cbpds/web-components
Version:
Web components for the CBP Design System.
21 lines (20 loc) • 582 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
export declare class CbpToggle {
private formField;
host: HTMLElement;
checked: boolean;
disabled: boolean;
hideStatus: boolean;
statusTextOn: string;
statusTextOff: string;
name: string;
value: string;
context: "light-inverts" | "light-always" | "dark-inverts" | "dark-always";
sx: any;
componentWillLoad(): void;
componentDidLoad(): void;
watchDisabledHandler(newValue: boolean): void;
toggleClick: EventEmitter;
toggleEvent(): void;
render(): any;
}