mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
Fix switch
This commit is contained in:
parent
de64cdb7b5
commit
edd2ac08fa
@ -131,7 +131,6 @@ export class HaControlSwitch extends LitElement {
|
|||||||
@keydown=${this._keydown}
|
@keydown=${this._keydown}
|
||||||
aria-checked=${this.checked ? "true" : "false"}
|
aria-checked=${this.checked ? "true" : "false"}
|
||||||
aria-label=${ifDefined(this.label)}
|
aria-label=${ifDefined(this.label)}
|
||||||
@click=${this._toggle}
|
|
||||||
role="switch"
|
role="switch"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
?checked=${this.checked}
|
?checked=${this.checked}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user