@angular/material
Version:
Angular Material
28 lines (27 loc) • 876 B
TypeScript
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { EventEmitter } from '@angular/core';
export declare type LayoutDirection = 'ltr' | 'rtl';
/**
* Directive to listen for 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 {
/** Layout direction of the element. */
_dir: LayoutDirection;
/** Event emitted when the direction changes. */
dirChange: EventEmitter<void>;
/** @docs-private */
dir: LayoutDirection;
/** Current layout direction of the element. */
value: LayoutDirection;
}
export declare class RtlModule {
}