@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
36 lines (35 loc) • 1.58 kB
TypeScript
import type { AccessKeyPropType, AlternativeButtonLinkRolePropType, AriaDescriptionPropType, ButtonCallbacksPropType, ButtonTypePropType, ButtonVariantPropType, CustomClassPropType, IconsPropType, LabelWithExpertSlotPropType, ShortKeyPropType, SplitButtonProps, SplitButtonStates, StencilUnknown, SyncValueBySelectorPropType, TooltipAlignPropType } from '../../schema';
import type { JSX } from '../../stencil-public-runtime';
export declare class KolSplitButton implements SplitButtonProps {
private primaryButtonWcRef?;
private readonly catchPrimaryRef;
getValue(): Promise<StencilUnknown>;
kolFocus(): Promise<void>;
private readonly clickButtonHandler;
private readonly clickToggleHandler;
private readonly toggleDropdown;
private readonly handleOnClose;
render(): JSX.Element;
closePopup(): Promise<void>;
_accessKey?: AccessKeyPropType;
_ariaControls?: string;
_ariaDescription?: AriaDescriptionPropType;
_ariaExpanded?: boolean;
_ariaSelected?: boolean;
_customClass?: CustomClassPropType;
_disabled?: boolean;
_hideLabel?: boolean;
_icons?: IconsPropType;
_id?: string;
_label: LabelWithExpertSlotPropType;
_name?: string;
_on?: ButtonCallbacksPropType<StencilUnknown>;
_role?: AlternativeButtonLinkRolePropType;
_shortKey?: ShortKeyPropType;
_syncValueBySelector?: SyncValueBySelectorPropType;
_tooltipAlign?: TooltipAlignPropType;
_type?: ButtonTypePropType;
_value?: StencilUnknown;
_variant?: ButtonVariantPropType;
state: SplitButtonStates;
}