@angular2-material/core
Version:
Angular 2 Material core
18 lines (17 loc) • 553 B
TypeScript
import { ModuleWithProviders, EventEmitter } from '@angular/core';
export declare type LayoutDirection = 'ltr' | 'rtl';
/**
* Directive to listen to changes of direction of part of the DOM.
*
* Applications should use this directive instead of the native attribute so that Material
* components can listen on changes of direction.
*/
export declare class Dir {
private _dir;
dirChange: EventEmitter<void>;
dir: LayoutDirection;
value: LayoutDirection;
}
export declare class RtlModule {
static forRoot(): ModuleWithProviders;
}