@cbpds/web-components
Version:
Web components for the CBP Design System.
22 lines (21 loc) • 638 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;
toggleClick: EventEmitter;
toggleEvent(e: any): void;
watchDisabledHandler(newValue: boolean): void;
watchCheckedHandler(newValue: boolean): void;
componentWillLoad(): void;
componentDidLoad(): void;
render(): any;
}