In our lit web-components library we would like to allow users to add web components in the most HTMLwise manner. Is there a way to pass boolean attributes into components like following?
<custom-button disabled> // -> true
<custom-button> // -> undefined -> (lit) false
Currently it looks like this:
<custom-button disabled="true"
We would like to get rid of boolean assignment and keep just word 'disabled' if it is true, the same as it is done for native HTML elements