Closed
Description
What problem does this feature solve?
Reduce amount of code and make code neater.
What does the proposed API look like?
It looks like ES6 destructuring assignment: ... :foo ...
instead of ... :foo='foo' ...
.
Right now it doesn't work, since according with standards, such attributes are considered as Boolean Attributes and converted from ... :foo ...
to :foo=":foo"
. And I'm not even sure if it's not a bad practice to use them in proposed way (since if such attributes are called Boolean Attributes, they should represent boolean values). But having that feature would be really great!
Metadata
Metadata
Assignees
Labels
No labels