wishthis/node_modules/html2canvas/dist/lib/css/property-descriptors/direction.js
2022-11-19 16:34:10 +01:00

19 lines
No EOL
495 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.direction = void 0;
exports.direction = {
name: 'direction',
initialValue: 'ltr',
prefix: false,
type: 2 /* IDENT_VALUE */,
parse: function (_context, direction) {
switch (direction) {
case 'rtl':
return 1 /* RTL */;
case 'ltr':
default:
return 0 /* LTR */;
}
}
};
//# sourceMappingURL=direction.js.map