finpro
Version:
30 lines • 739 B
TypeScript
import { CSSResultGroup, LitElement, TemplateResult } from 'lit';
export declare const fpSwitchTag = "fp-switch";
/**
* @tag fp-switch
* @summary Finpro Switch component
*/
export default class FpSwitch extends LitElement {
static get styles(): CSSResultGroup;
/**
* Sets the checked state for switch
*/
checked: boolean;
/**
* Sets the disabled state for switch
*/
disabled?: boolean | undefined;
/**
* Fires whenever user toggles the switch
*/
private onToggle;
toggle(): void;
private handleKeyDown;
render(): TemplateResult;
}
declare global {
interface HTMLElementTagNameMap {
[fpSwitchTag]: FpSwitch;
}
}
//# sourceMappingURL=fp-switch.d.ts.map