1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 |
|
4 |
|
5 |
|
6 | function setRTL(isRTL) {
|
7 | if (_rtl !== isRTL) {
|
8 | _rtl = isRTL;
|
9 | }
|
10 | }
|
11 | exports.setRTL = setRTL;
|
12 |
|
13 |
|
14 |
|
15 | function getRTL() {
|
16 | if (_rtl === undefined) {
|
17 | _rtl =
|
18 | typeof document !== 'undefined' &&
|
19 | !!document.documentElement &&
|
20 | document.documentElement.getAttribute('dir') === 'rtl';
|
21 | }
|
22 | return _rtl;
|
23 | }
|
24 | exports.getRTL = getRTL;
|
25 |
|
26 |
|
27 |
|
28 | var _rtl;
|
29 | _rtl = getRTL();
|
30 | function getStyleOptions() {
|
31 | return {
|
32 | rtl: getRTL(),
|
33 | };
|
34 | }
|
35 | exports.getStyleOptions = getStyleOptions;
|
36 |
|
\ | No newline at end of file |