We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bf8b5f commit 2b02497Copy full SHA for 2b02497
switch/internal/switch.ts
@@ -100,9 +100,6 @@ export class Switch extends switchBaseClass {
100
}
101
102
protected override render(): TemplateResult {
103
- // NOTE: buttons must use only [phrasing
104
- // content](https://html.spec.whatwg.org/multipage/dom.html#phrasing-content)
105
- // children, which includes custom elements, but not `div`s
106
return html`
107
<div class="switch ${classMap(this.getRenderClasses())}">
108
<input
0 commit comments