@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
15 lines (14 loc) • 667 B
TypeScript
import { OnDestroy, OnInit } from '@angular/core';
import * as i0 from "@angular/core";
export declare class MenuInitialFocusDirective implements OnInit, OnDestroy {
private readonly _menu;
private readonly _elementRef;
private readonly _renderer;
private readonly _onDestroy;
ngOnInit(): void;
ngOnDestroy(): void;
/** Apply tabindex="0" to the element if it's not already focusable. */
private ensureFocusable;
static ɵfac: i0.ɵɵFactoryDeclaration<MenuInitialFocusDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuInitialFocusDirective, "[uxMenuInitialFocus]", never, {}, {}, never, never, false, never>;
}