html2canvas-pro
Version:
Screenshots with JavaScript. Next generation!
19 lines • 539 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.direction = void 0;
exports.direction = {
name: 'direction',
initialValue: 'ltr',
prefix: false,
type: 2 /* PropertyDescriptorParsingType.IDENT_VALUE */,
parse: (_context, direction) => {
switch (direction) {
case 'rtl':
return 1 /* DIRECTION.RTL */;
case 'ltr':
default:
return 0 /* DIRECTION.LTR */;
}
}
};
//# sourceMappingURL=direction.js.map