You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{^value.animations}="*animations" is ok (after getting rid of default when moving to ES5), although my vote would be to export the animations as the module’s value and add the additional methods on it, so it would look something like this:
importcanStacheAnimationsfrom'can-stache-animations';// canStacheAnimations is an array of animations so you can write `{^value}="*animations"`canStacheAnimations.register();// Accept a list of animations, e.g. register({}, {})canStacheAnimations.setDefaults();// Accept an object, e.g. setDefaults({duration: 500})
The text was updated successfully, but these errors were encountered:
Currently, the import syntax is like this:
as @chasenlehara pointed out, it would be nicer to do something like this:
from #14:
{^value.animations}="*animations"
is ok (after getting rid ofdefault
when moving to ES5), although my vote would be to export theanimations
as the module’s value and add the additional methods on it, so it would look something like this:The text was updated successfully, but these errors were encountered: