chatty-pub/node_modules/html2canvas/dist/lib/css/property-descriptors/opacity.js
كارل مبارك 374620645c initial commit
2021-06-26 13:12:56 +02:00

17 lines
516 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var IPropertyDescriptor_1 = require("../IPropertyDescriptor");
var parser_1 = require("../syntax/parser");
exports.opacity = {
name: 'opacity',
initialValue: '1',
type: IPropertyDescriptor_1.PropertyDescriptorParsingType.VALUE,
prefix: false,
parse: function (token) {
if (parser_1.isNumberToken(token)) {
return token.number;
}
return 1;
}
};
//# sourceMappingURL=opacity.js.map