Files
Tiber365/node_modules/lottie-web/player/js/utils/expressions/PropertyInterface.js
2025-05-16 00:17:42 +02:00

20 lines
432 B
JavaScript

const PropertyInterface = (function () {
return function (propertyName, propertyGroup) {
var interfaceFunction = {
_name: propertyName,
};
function _propertyGroup(val) {
val = val === undefined ? 1 : val;
if (val <= 0) {
return interfaceFunction;
}
return propertyGroup(val - 1);
}
return _propertyGroup;
};
}());
export default PropertyInterface;