Closed
Description
https://vuejs.org/v2/guide/syntax.html#Attributes
It also works for boolean attributes - the attribute will be removed if the condition evaluates to a falsy value
In fact, binding an attribute to 0
or NaN
won't result in removing the attribute. It's not a normal case but the doc should be more precise on this IMO.
Metadata
Metadata
Assignees
Labels
No labels