direction.js 495 B

12345678910111213141516171819
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.direction = void 0;
  4. exports.direction = {
  5. name: 'direction',
  6. initialValue: 'ltr',
  7. prefix: false,
  8. type: 2 /* IDENT_VALUE */,
  9. parse: function (_context, direction) {
  10. switch (direction) {
  11. case 'rtl':
  12. return 1 /* RTL */;
  13. case 'ltr':
  14. default:
  15. return 0 /* LTR */;
  16. }
  17. }
  18. };
  19. //# sourceMappingURL=direction.js.map