Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
779 bytes
|
Line | |
---|
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 | export declare type Direction = 'ltr' | 'rtl';
|
---|
10 | /**
|
---|
11 | * The directionality (LTR / RTL) context for the application (or a subtree of it).
|
---|
12 | * Exposes the current direction and a stream of direction changes.
|
---|
13 | */
|
---|
14 | export declare class Directionality implements OnDestroy {
|
---|
15 | /** The current 'ltr' or 'rtl' value. */
|
---|
16 | readonly value: Direction;
|
---|
17 | /** Stream that emits whenever the 'ltr' / 'rtl' state changes. */
|
---|
18 | readonly change: EventEmitter<Direction>;
|
---|
19 | constructor(_document?: any);
|
---|
20 | ngOnDestroy(): void;
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.