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

```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