@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
43 lines (42 loc) • 1.82 kB
TypeScript
import type { JSX } from '../../stencil-public-runtime';
import type { PopoverButtonProps, PopoverButtonStates } from '../../schema/components/popover-button';
import type { AccessKeyPropType, AlternativeButtonLinkRolePropType, AriaDescriptionPropType, ButtonCallbacksPropType, ButtonTypePropType, ButtonVariantPropType, CustomClassPropType, IconsPropType, LabelWithExpertSlotPropType, PopoverAlignPropType, ShortKeyPropType, StencilUnknown, SyncValueBySelectorPropType, TooltipAlignPropType } from '../../schema';
export declare class KolPopoverButton implements PopoverButtonProps {
private refButton?;
private refPopover?;
private cleanupAutoPositioning?;
state: PopoverButtonStates;
private justClosed;
private popoverOpen;
hidePopover(): Promise<void>;
private handleBeforeToggle;
private alignPopover;
private handleToggle;
private handleButtonClick;
componentDidRender(): void;
disconnectedCallback(): void;
render(): JSX.Element;
_accessKey?: AccessKeyPropType;
_ariaControls?: string;
_ariaDescription?: AriaDescriptionPropType;
_ariaSelected?: boolean;
_customClass?: CustomClassPropType;
_disabled?: boolean;
_hideLabel?: boolean;
_icons?: IconsPropType;
_id?: string;
_label: LabelWithExpertSlotPropType;
_name?: string;
_on?: ButtonCallbacksPropType<StencilUnknown>;
_popoverAlign?: PopoverAlignPropType;
_role?: AlternativeButtonLinkRolePropType;
_shortKey?: ShortKeyPropType;
_syncValueBySelector?: SyncValueBySelectorPropType;
_tabIndex?: number;
_tooltipAlign?: TooltipAlignPropType;
_type?: ButtonTypePropType;
_value?: StencilUnknown;
_variant?: ButtonVariantPropType;
validatePopoverAlign(value?: PopoverAlignPropType): void;
componentWillLoad(): void;
}