@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
19 lines (18 loc) • 948 B
TypeScript
import { RendererFactory2 } from '@angular/core';
import { FocusIndicator } from './focus-indicator';
import { FocusIndicatorOptions } from './focus-indicator-options.interface';
import * as i0 from "@angular/core";
export declare class FocusIndicatorService {
private readonly _localOptions;
readonly rendererFactory: RendererFactory2;
private readonly _focusMonitor;
private readonly _globalOptions;
private readonly _focusIndicatorOrigin;
/** We need the renderer to add and remove classes */
private readonly _renderer;
constructor();
/** This is essentially just a factory method to prevent the user having to pass in focus monitor, renderer and global options each time */
monitor(element: HTMLElement, options?: FocusIndicatorOptions): FocusIndicator;
static ɵfac: i0.ɵɵFactoryDeclaration<FocusIndicatorService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<FocusIndicatorService>;
}