Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
955 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | import { EventEmitter, OnDestroy } from '@angular/core';
|
---|
| 9 | import * as ɵngcc0 from '@angular/core';
|
---|
| 10 | export declare type Direction = 'ltr' | 'rtl';
|
---|
| 11 | /**
|
---|
| 12 | * The directionality (LTR / RTL) context for the application (or a subtree of it).
|
---|
| 13 | * Exposes the current direction and a stream of direction changes.
|
---|
| 14 | */
|
---|
| 15 | export declare class Directionality implements OnDestroy {
|
---|
| 16 | /** The current 'ltr' or 'rtl' value. */
|
---|
| 17 | readonly value: Direction;
|
---|
| 18 | /** Stream that emits whenever the 'ltr' / 'rtl' state changes. */
|
---|
| 19 | readonly change: EventEmitter<Direction>;
|
---|
| 20 | constructor(_document?: any);
|
---|
| 21 | ngOnDestroy(): void;
|
---|
| 22 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<Directionality, [{ optional: true; }]>;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | //# sourceMappingURL=directionality.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.