MCPcopy Create free account
hub / github.com/bendc/animateplus / normalizeBlur

Function normalizeBlur

animateplus.js:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89};
90
91const normalizeBlur = blur => {
92 const defaults = blurs.axes.reduce((object, axis) => {
93 object[axis] = 0;
94 return object;
95 }, {});
96 return Object.assign(defaults, blur);
97};
98
99const clearBlur = ({style}, {parentNode: {parentNode: svg}}) => {
100 style.filter = "none";

Callers 1

addAnimationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected