Sha256: ee43737d99e41009bf2a95be13c5b68d107500e5e31e76275a5285ed21f65351

Contents?: true

Size: 1006 Bytes

Versions: 6

Compression:

Stored size: 1006 Bytes

Contents

import IncludeFragmentElement from '@github/include-fragment-element';
type SelectVariant = 'none' | 'single' | 'multiple' | null;
type SelectedItem = {
    label: string | null | undefined;
    value: string | null | undefined;
    element: Element;
};
export declare class ActionMenuElement extends HTMLElement {
    #private;
    includeFragment: IncludeFragmentElement;
    get selectVariant(): SelectVariant;
    set selectVariant(variant: SelectVariant);
    get dynamicLabelPrefix(): string;
    set dynamicLabelPrefix(value: string);
    get dynamicLabel(): boolean;
    set dynamicLabel(value: boolean);
    get popoverElement(): HTMLElement | null;
    get invokerElement(): HTMLElement | null;
    get invokerLabel(): HTMLElement | null;
    get selectedItems(): SelectedItem[];
    connectedCallback(): void;
    disconnectedCallback(): void;
    handleEvent(event: Event): void;
}
declare global {
    interface Window {
        ActionMenuElement: typeof ActionMenuElement;
    }
}
export {};

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
primer_view_components-0.5.1 app/assets/javascripts/app/components/primer/alpha/action_menu/action_menu_element.d.ts
primer_view_components-0.5.1 app/components/primer/alpha/action_menu/action_menu_element.d.ts
primer_view_components-0.5.0 app/assets/javascripts/app/components/primer/alpha/action_menu/action_menu_element.d.ts
primer_view_components-0.5.0 app/components/primer/alpha/action_menu/action_menu_element.d.ts
primer_view_components-0.4.0 app/assets/javascripts/app/components/primer/alpha/action_menu/action_menu_element.d.ts
primer_view_components-0.4.0 app/components/primer/alpha/action_menu/action_menu_element.d.ts