Re: [w3c/webcomponents] [templates] Allow removal of boolean attributes (#705)

Options:

* Treat particular falsey values magically. One or more of `false`/`undefined`/`null` should, if they're the only value of the attribute, remove/not-add the attribute.
* Invent special syntax to enable special treatment of the value, eg `{{falseVal?}}`, otherwise always treat as string.
* Invent special parser behaviour, such as `checked={{falseVal}}` vs `checked="{{falseVal}}"`, where only the former would allow the special treatment of the value.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/705#issuecomment-343576042

Received on Friday, 10 November 2017 20:21:42 UTC