first commit
This commit is contained in:
19
node_modules/lottie-web/player/js/utils/expressions/PropertyInterface.js
generated
vendored
Normal file
19
node_modules/lottie-web/player/js/utils/expressions/PropertyInterface.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
Reference in New Issue
Block a user