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

15 lines
No EOL
507 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.duration = void 0;
var parser_1 = require("../syntax/parser");
var time_1 = require("../types/time");
exports.duration = {
name: 'duration',
initialValue: '0s',
prefix: false,
type: 1 /* LIST */,
parse: function (context, tokens) {
return tokens.filter(parser_1.isDimensionToken).map(function (token) { return time_1.time.parse(context, token); });
}
};
//# sourceMappingURL=duration.js.map