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

23 lines
638 B
JavaScript
Raw Normal View History

2022-11-19 15:34:10 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.float = void 0;
exports.float = {
name: 'float',
initialValue: 'none',
prefix: false,
type: 2 /* IDENT_VALUE */,
parse: function (_context, float) {
switch (float) {
case 'left':
return 1 /* LEFT */;
case 'right':
return 2 /* RIGHT */;
case 'inline-start':
return 3 /* INLINE_START */;
case 'inline-end':
return 4 /* INLINE_END */;
}
return 0 /* NONE */;
}
};
//# sourceMappingURL=float.js.map