- From: Glen <notifications@github.com>
- Date: Sat, 14 Apr 2018 18:39:53 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 14 April 2018 18:40:19 UTC
```html
checked="{{ falseVal }}"
```
Should output:
```html
checked="false"
```
IMO. (false.toString())
Call me strange, but I prefer to quote all my attributes, so I'm not really fond of using that to determine whether or not to drop the attribute.
Out of the 4 options mentioned so far, my current preference is `#4` from Domenic, assuming you are still allowed to quote the value ...
```html
checked?="{{ falseVal }}"
```
--
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-381350585
Received on Saturday, 14 April 2018 18:40:19 UTC