UNPKG

553 BTypeScriptView Raw
1import { ModuleWithProviders, EventEmitter } from '@angular/core';
2export declare type LayoutDirection = 'ltr' | 'rtl';
3/**
4 * Directive to listen to changes of direction of part of the DOM.
5 *
6 * Applications should use this directive instead of the native attribute so that Material
7 * components can listen on changes of direction.
8 */
9export declare class Dir {
10 private _dir;
11 dirChange: EventEmitter<void>;
12 dir: LayoutDirection;
13 value: LayoutDirection;
14}
15export declare class RtlModule {
16 static forRoot(): ModuleWithProviders;
17}