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
Hi!
Actually the order of processing transition options is : options -> vue-type attribute -> alpinejs-type attribute and so it's impossible to override those options from html attributes.
What about going with the reverse priority using the useTransition options as fallback ? It would help defining default options in stimulus controller and allow overrides when needed from html. It's just a matter of getter priority and I may add a pull request for that.
Thanks
The text was updated successfully, but these errors were encountered:
Hey @adeys, I sadly don't really have a strong opinion on the useTransition mixin. But please feel free to open a pull request if you think this improves the DX 🙏🏼
Hi!
Actually the order of processing transition options is :
options -> vue-type attribute -> alpinejs-type attribute
and so it's impossible to override those options from html attributes.What about going with the reverse priority using the
useTransition
options as fallback ? It would help defining default options in stimulus controller and allow overrides when needed from html. It's just a matter of getter priority and I may add a pull request for that.Thanks
The text was updated successfully, but these errors were encountered: