1 | import { OpaqueToken } from '@angular/core';
|
2 | export declare const LIVE_ANNOUNCER_ELEMENT_TOKEN: OpaqueToken;
|
3 | export declare type AriaLivePoliteness = 'off' | 'polite' | 'assertive';
|
4 | export declare class MdLiveAnnouncer {
|
5 | private _liveElement;
|
6 | constructor(elementToken: any);
|
7 | /**
|
8 | * @param message Message to be announced to the screenreader
|
9 | * @param politeness The politeness of the announcer element.
|
10 | */
|
11 | announce(message: string, politeness?: AriaLivePoliteness): void;
|
12 | private _createLiveElement();
|
13 | }
|