UNPKG

gentics-ui-core

Version:

This is the common core framework for the Gentics CMS and Mesh UI, and other Angular applications.

21 lines (20 loc) 925 B
import { EventEmitter, QueryList, ElementRef, AfterContentInit } from '@angular/core'; import * as i0 from "@angular/core"; /** * Wraps the content and handles keyboard control (tabbing and focus) of the contents. */ export declare class DropdownContent implements AfterContentInit { elementRef: ElementRef; focusLost: EventEmitter<boolean>; focusableItems: HTMLElement[]; items: QueryList<ElementRef>; constructor(elementRef: ElementRef); keyHandler(e: KeyboardEvent): void; ngAfterContentInit(): void; focusFirstItem(): void; focusNext(currentElement: HTMLElement, e: KeyboardEvent): void; focusPrevious(currentElement: HTMLElement, e: KeyboardEvent): void; private getIndexOfElement; static ɵfac: i0.ɵɵFactoryDeclaration<DropdownContent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DropdownContent, "gtx-dropdown-content", never, {}, {}, ["items"], ["*"]>; }