Felippe Nardi
Felippe Nardi
@chenqingspring Hi Chen! Are you still maintaining this repo? Would you like help? There is some great feature like this one being suggested.
+1, why is this closed?
I was thinking on making the next HOC know what is the `animationDuration` of the previous HOC so it can set a `animationDelay` for itself.
@emersonlaurentino Thanks for the suggestion! In this example, how could we pass a custom animation duration for `withJello`? ```javascript const SequencialAnimations = withSequence( withShake, withJello, First shake it then jello!...
@raphamorim `withConfig` would generate a new HOC with the set config, correct? When `withSequence` is iterating through each HOC, how can it access the `animation-duration` that is going to be...
@raphamorim Another question, to implement `withConfig(withShake, {}))`, the `withShake` function would have to accept the config as a second argument, wouldn't it? If not, how can you pass the options...
@emersonlaurentino @raphamorim Guys! Just managed to get a working `withSequence` and `withConfig` :) Just need to polish it up and will send a PR so you can give your feedbacks...
Bump! Agreed.
@epicfaace @realrisman Do you guys want help to wrap it up?
@bodymovin Thanks for replying so fast! This is the implementation: Starting the animation using react-lottie: https://github.com/felippenardi/lottie-face-control/blob/master/src/App.js#L27 Using lottie-api to modify properties: https://github.com/felippenardi/lottie-face-control/blob/master/src/utils/LottieWithAnimationControl.js#L11 Note that the controlling the position of `JoyStkCtrl01`...