Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[6a3a178] | 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 | */
|
---|
| 8 | import { InjectionToken } from '@angular/core';
|
---|
| 9 | /** Possible politeness levels. */
|
---|
| 10 | export declare type AriaLivePoliteness = 'off' | 'polite' | 'assertive';
|
---|
| 11 | export declare const LIVE_ANNOUNCER_ELEMENT_TOKEN: InjectionToken<HTMLElement | null>;
|
---|
| 12 | /** @docs-private */
|
---|
| 13 | export declare function LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY(): null;
|
---|
| 14 | /** Object that can be used to configure the default options for the LiveAnnouncer. */
|
---|
| 15 | export 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. */
|
---|
| 22 | export declare const LIVE_ANNOUNCER_DEFAULT_OPTIONS: InjectionToken<LiveAnnouncerDefaultOptions>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.