@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
31 lines (30 loc) • 1.33 kB
TypeScript
import type { ButtonOrLinkOrTextWithChildrenProps, CollapsiblePropType, HideLabelPropType, LabelPropType, NavAPI, NavStates, Orientation, Stringified } from '../../schema';
import type { JSX } from '../../stencil-public-runtime';
export declare class KolNav implements NavAPI {
private expandChildren;
private collapseChildren;
private readonly handleToggleExpansionClick;
private entry;
private expandButton;
private li;
private linkList;
private initializeExpandedChildren;
render(): JSX.Element;
_collapsible?: boolean;
_hasCompactButton?: boolean;
_hasIconsWhenExpanded?: boolean;
_hideLabel?: boolean;
_label: LabelPropType;
_links: Stringified<ButtonOrLinkOrTextWithChildrenProps[]>;
_orientation?: Orientation;
state: NavStates;
validateCollapsible(value?: CollapsiblePropType): void;
validateHasCompactButton(value?: boolean): void;
validateHasIconsWhenExpanded(value?: boolean): void;
validateHideLabel(value?: HideLabelPropType): void;
validateLabel(value?: LabelPropType, _oldValue?: LabelPropType, initial?: boolean): void;
validateLinks(value?: Stringified<ButtonOrLinkOrTextWithChildrenProps[]>): void;
validateOrientation(value?: Orientation): void;
componentWillLoad(): void;
disconnectedCallback(): void;
}