Hints to adding .applyBounds() to codebase
Firstly, a thank you.
This library holds potential to exceed other library like jQuery Draggable or even Green$ock API.
One of the feature I like in Green$ock is the .applyBounds() call where another process (eg: animation) moves the element out of the restrict-zone and running element.applyBounds() pushes it back to the restrict-zone. An example could be:-
- Animated Page Title, where text fly all over, opacity goes to 0 (fadeOut)
- Calls
.applyBound(), moves text to the restricted zone - opacity returns to 1 (fadeIn)
Question: Is there an example or HowTo in extending the interactJS correctly (eg: SnapSVG plugin() call) or even a general guideline or pointers that an extended function has to hook into InteractJS?
End of day, it could be a love child between InteractJS and https://github.com/juliangarnier/anime :-)
Would be brilliant, I change the resolution of parent containers a lot in my application and have struggled with the lack of this feature.