@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
31 lines (30 loc) • 1.5 kB
TypeScript
import type { JSX } from '../../stencil-public-runtime';
import type { AccessKeyPropType, AlternativeButtonLinkRolePropType, AriaDescriptionPropType, ButtonCallbacksPropType, ButtonProps, ButtonTypePropType, ButtonVariantPropType, CustomClassPropType, FocusableElement, IconsPropType, InlinePropType, LabelWithExpertSlotPropType, ShortKeyPropType, StencilUnknown, SyncValueBySelectorPropType, TooltipAlignPropType } from '../../schema';
export declare class KolButton implements ButtonProps, FocusableElement {
protected readonly host?: HTMLKolButtonElement;
protected readonly ctaRef: import("../../utils/element-interaction").CtaRef<HTMLKolButtonWcElement>;
getValue(): Promise<StencilUnknown>;
focus(): Promise<void>;
click(): Promise<void>;
render(): JSX.Element;
_accessKey?: AccessKeyPropType;
_ariaControls?: string;
_ariaDescription?: AriaDescriptionPropType;
_ariaExpanded?: boolean;
_ariaSelected?: boolean;
_customClass?: CustomClassPropType;
_disabled?: boolean;
_hideLabel?: boolean;
_icons?: IconsPropType;
_inline?: InlinePropType;
_label: LabelWithExpertSlotPropType;
_name?: string;
_on?: ButtonCallbacksPropType<StencilUnknown>;
_role?: AlternativeButtonLinkRolePropType;
_shortKey?: ShortKeyPropType;
_syncValueBySelector?: SyncValueBySelectorPropType;
_tooltipAlign?: TooltipAlignPropType;
_type?: ButtonTypePropType;
_value?: StencilUnknown;
_variant?: ButtonVariantPropType;
}