@openproject/primer-view-components
Version:
ViewComponents of the Primer Design System for OpenProject
14 lines (13 loc) • 419 B
TypeScript
export declare abstract class CollapsibleElement extends HTMLElement {
arrowDown: Element;
arrowUp: Element;
triggerElement: HTMLElement;
collapsibleElements: HTMLElement[];
collapsed: boolean;
toggleViaKeyboard(event: KeyboardEvent): void;
toggle(): void;
attributeChangedCallback(name: string): void;
hideAll(): void;
expandAll(): void;
abstract get baseClass(): string;
}