Is it possible to have a custom boolean attribute? In the hyperHTML documentation for Boolean Attributes, it states the following:
Just use boolean attributes any time you need them, if it's part of the element's inheritance, it'll always do the right thing.
This snippet doesn't work:
this.html`<custom-element myboolean=${this.flag}></custom-element>`;
If I needed custom
to be a boolean attribute, how could I make it so that it's "part of the element's inheritance"?