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
I was trying to use the transition behavior's controller class directly today without writing any custom JavaScript. It is, of course, totally possible to do this :). Except that the options - e.g. hiddenClass or transitioned don't appear to have a way to set them via HTML attributes.
Could we add a way to set these via HTML attributes? And I would love for it to use the Values API. In the Symfony world (where I come from), we have a helper that makes setting values on a controller dead simple and clean.
And while it is currently possible to use data attributes to set things like enter-active, I think these should also be settable via the values API. We don't need to remove the current way of setting them as data attributes, just add the ability to use options :).
WDYT? Thanks!
The text was updated successfully, but these errors were encountered:
Hi again!
I was trying to use the
transition
behavior's controller class directly today without writing any custom JavaScript. It is, of course, totally possible to do this :). Except that the options - e.g.hiddenClass
ortransitioned
don't appear to have a way to set them via HTML attributes.Could we add a way to set these via HTML attributes? And I would love for it to use the Values API. In the Symfony world (where I come from), we have a helper that makes setting values on a controller dead simple and clean.
And while it is currently possible to use data attributes to set things like
enter-active
, I think these should also be settable via the values API. We don't need to remove the current way of setting them as data attributes, just add the ability to use options :).WDYT? Thanks!
The text was updated successfully, but these errors were encountered: