@skyux/modals
Version:
This library was generated with [Nx](https://nx.dev).
18 lines (17 loc) • 798 B
TypeScript
import { ElementRef } from '@angular/core';
import * as i0 from "@angular/core";
/**
* @internal
*/
export declare class SkyModalComponentAdapterService {
#private;
handleWindowChange(modalEl: ElementRef): void;
isFocusInFirstItem(event: KeyboardEvent, list: HTMLElement[]): boolean;
isFocusInLastItem(event: KeyboardEvent, list: HTMLElement[]): boolean;
isModalFocused(event: KeyboardEvent, modalEl: ElementRef): boolean;
focusLastElement(list: HTMLElement[]): boolean;
focusFirstElement(list: HTMLElement[]): boolean;
modalContentHasDirectChildViewkeeper(modalContentEl: ElementRef): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalComponentAdapterService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SkyModalComponentAdapterService>;
}