v1.7.13
Improvements
- #1952 - template-compiler: Changes how boolean attributes and attributes used as boolean on standard HTML elements are rendered.
- All the attributes declared in the template on standard HTML elements are now set via attributes.
- Known boolean attributes (for example,
hidden
andrequired
, but with the exception ofchecked
) are set if their value is truthy. Otherwise, the attribute is omitted. For the rest of the attributes (for example,class
,data-*
, andfoo-bar
), the values are set if they are not nullish.
Internal