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

21 lines
No EOL
583 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.visibility = void 0;
exports.visibility = {
name: 'visible',
initialValue: 'none',
prefix: false,
type: 2 /* IDENT_VALUE */,
parse: function (_context, visibility) {
switch (visibility) {
case 'hidden':
return 1 /* HIDDEN */;
case 'collapse':
return 2 /* COLLAPSE */;
case 'visible':
default:
return 0 /* VISIBLE */;
}
}
};
//# sourceMappingURL=visibility.js.map