Initial project import
This commit is contained in:
17
node_modules/html2canvas/dist/lib/css/property-descriptors/opacity.js
generated
vendored
Normal file
17
node_modules/html2canvas/dist/lib/css/property-descriptors/opacity.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.opacity = void 0;
|
||||
var parser_1 = require("../syntax/parser");
|
||||
exports.opacity = {
|
||||
name: 'opacity',
|
||||
initialValue: '1',
|
||||
type: 0 /* VALUE */,
|
||||
prefix: false,
|
||||
parse: function (_context, token) {
|
||||
if (parser_1.isNumberToken(token)) {
|
||||
return token.number;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=opacity.js.map
|
||||
Reference in New Issue
Block a user