You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
955 B
25 lines
955 B
/**
|
|
* @license
|
|
* Copyright Google LLC 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, OnDestroy } from '@angular/core';
|
|
import * as ɵngcc0 from '@angular/core';
|
|
export declare type Direction = 'ltr' | 'rtl';
|
|
/**
|
|
* The directionality (LTR / RTL) context for the application (or a subtree of it).
|
|
* Exposes the current direction and a stream of direction changes.
|
|
*/
|
|
export declare class Directionality implements OnDestroy {
|
|
/** The current 'ltr' or 'rtl' value. */
|
|
readonly value: Direction;
|
|
/** Stream that emits whenever the 'ltr' / 'rtl' state changes. */
|
|
readonly change: EventEmitter<Direction>;
|
|
constructor(_document?: any);
|
|
ngOnDestroy(): void;
|
|
static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<Directionality, [{ optional: true; }]>;
|
|
}
|
|
|
|
//# sourceMappingURL=directionality.d.ts.map
|