@cbpds/web-components
Version:
Web components for the CBP Design System.
19 lines (18 loc) • 723 B
TypeScript
export declare class CbpTooltip {
host: HTMLElement;
open: boolean;
variant: 'definition';
alignment: "top-left" | "top-center" | "top-left" | "right-top" | "right-center" | "right-bottom" | "bottom-left" | "bottom-center" | "bottom-right" | "left-top" | "left-center" | "left-bottom";
fieldId: string;
context: "light-inverts" | "light-always" | "dark-inverts" | "dark-always";
sx: any;
componentWillLoad(): void;
dismissTooltip(): void;
handleFocusOut({ key, shiftKey }: {
key: any;
shiftKey: any;
}): void;
handleKeyDown(ev: KeyboardEvent): void;
invertContext(): "light-inverts" | "light-always" | "dark-inverts" | "dark-always";
render(): any;
}