source: trip-planner-front/node_modules/@angular/cdk/a11y/live-announcer/live-announcer-tokens.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { InjectionToken } from '@angular/core';
9/** Possible politeness levels. */
10export declare type AriaLivePoliteness = 'off' | 'polite' | 'assertive';
11export declare const LIVE_ANNOUNCER_ELEMENT_TOKEN: InjectionToken<HTMLElement | null>;
12/** @docs-private */
13export declare function LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY(): null;
14/** Object that can be used to configure the default options for the LiveAnnouncer. */
15export interface LiveAnnouncerDefaultOptions {
16 /** Default politeness for the announcements. */
17 politeness?: AriaLivePoliteness;
18 /** Default duration for the announcement messages. */
19 duration?: number;
20}
21/** Injection token that can be used to configure the default options for the LiveAnnouncer. */
22export declare const LIVE_ANNOUNCER_DEFAULT_OPTIONS: InjectionToken<LiveAnnouncerDefaultOptions>;
Note: See TracBrowser for help on using the repository browser.