Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hints to adding .applyBounds() to codebase #413

Closed
alkhoo opened this issue Aug 13, 2016 · 1 comment
Closed

Hints to adding .applyBounds() to codebase #413

alkhoo opened this issue Aug 13, 2016 · 1 comment

Comments

@alkhoo
Copy link

alkhoo commented Aug 13, 2016

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:-

  1. Animated Page Title, where text fly all over, opacity goes to 0 (fadeOut)
  2. Calls .applyBound(), moves text to the restricted zone
  3. 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 :-)

@dpekkle
Copy link

dpekkle commented Sep 16, 2016

Would be brilliant, I change the resolution of parent containers a lot in my application and have struggled with the lack of this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants