canjs / can-stache-animate

Animations and How-Tos for Animating in Stache
https://www.npmjs.com/package/can-stache-animate
MIT License
1 stars 1 forks source link

Document how to register all animations as stache helpers #24

Open mickmcgrath13 opened 7 years ago

mickmcgrath13 commented 7 years ago

It could be nice to register all of the animations under an animations object on the stache helpers

stache.registerHelper("animations", canStacheAnimate.animations);

..in order for that to work, we would need to use get (or similar) in can-stache/helpers/core's getHelper method (here)

I'll create an issue in can-stache and link it here

mickmcgrath13 commented 7 years ago

issue in can-stache to use get or observationReader: https://github.com/canjs/can-stache/issues/204