wishthis/node_modules/html2canvas/dist/lib/css/property-descriptors/direction.js

19 lines
495 B
JavaScript
Raw Normal View History

2022-11-19 15:34:10 +00:00
"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