In vue there are a couple ways to bind a property to an html tag. For example
<span v-bind:style="style"></span>
Where style
exists in the current controller, either as a property or as the component data.
A shorter way to do this is to use the v-bind
shorthand:
<span :style="style"></span>
I was wondering if there was a shorter way of doing this, or if there is something similar coming in vue 3, something like this I would like:
<span :style></span>
Is this possible?