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

export the Animated and AnimatedWithChildren base classes? #6

Open
gre opened this issue Jan 14, 2016 · 0 comments
Open

export the Animated and AnimatedWithChildren base classes? #6

gre opened this issue Jan 14, 2016 · 0 comments

Comments

@gre
Copy link

gre commented Jan 14, 2016

I'm only starting to implement my own Animated class for my own requirements (animated over OpenGL uniforms), however the Animated class (used to define most of animated* classes) is not exposed.

Exposing it would allow to have more third party libs: (1) that can create there own animated more easily and also (2) that can do things like foo instanceof Animated instead of ducktyping.

That said i'm not sure if all the methods aim to be "final", I mean __getValue, __getAnimatedValue, __addChild, ...
But when it's "finalized", it would be great to have a small doc to explain concepts of __getValue and __getChildren (i'm still new to Animated implementation, the lib design is still mindblowing to me, I really like how things are reversed from "classical" animation libs (the fact that spring function drives the animation in a "bottom-up" way, instead of letting the value flow top-down like in react-motion ) ).

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

1 participant