visibility.js 583 B

123456789101112131415161718192021
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.visibility = void 0;
  4. exports.visibility = {
  5. name: 'visible',
  6. initialValue: 'none',
  7. prefix: false,
  8. type: 2 /* IDENT_VALUE */,
  9. parse: function (_context, visibility) {
  10. switch (visibility) {
  11. case 'hidden':
  12. return 1 /* HIDDEN */;
  13. case 'collapse':
  14. return 2 /* COLLAPSE */;
  15. case 'visible':
  16. default:
  17. return 0 /* VISIBLE */;
  18. }
  19. }
  20. };
  21. //# sourceMappingURL=visibility.js.map