UNPKG

462 BJavaScriptView Raw
1import { __decorate } from "tslib";
2import { singleton } from 'mana-syringe';
3import { parseNumber, clampedMergeNumbers } from '../parser';
4/**
5 * opacity
6 */
7
8var CSSPropertyOpacity =
9/** @class */
10function () {
11 function CSSPropertyOpacity() {
12 this.parser = parseNumber;
13 this.mixer = clampedMergeNumbers(0, 1);
14 }
15
16 CSSPropertyOpacity = __decorate([singleton()], CSSPropertyOpacity);
17 return CSSPropertyOpacity;
18}();
19
20export { CSSPropertyOpacity };
\No newline at end of file