@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
25 lines (24 loc) • 989 B
TypeScript
import type { JSX } from '../../stencil-public-runtime';
import type { AlertAPI, AlertStates, AlertType, AlertVariant, HasCloserPropType, HeadingLevel, KoliBriAlertEventCallbacks, LabelPropType } from '../../schema';
export declare class KolAlertWc implements AlertAPI {
private readonly close;
private readonly handleAlertTimeout;
render(): JSX.Element;
_alert?: boolean;
_hasCloser?: boolean;
_label?: LabelPropType;
_level?: HeadingLevel;
_on?: KoliBriAlertEventCallbacks;
_type?: AlertType;
_variant?: AlertVariant;
state: AlertStates;
validateAlert(value?: boolean): void;
validateHasCloser(value?: HasCloserPropType): void;
validateLabel(value?: LabelPropType): void;
validateLevel(value?: HeadingLevel): void;
private validateOnValue;
validateOn(value?: KoliBriAlertEventCallbacks): void;
validateType(value?: AlertType): void;
validateVariant(value?: AlertVariant): void;
componentWillLoad(): void;
}