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 872ed88 commit 24cad4fCopy full SHA for 24cad4f
src/material/slide-toggle/slide-toggle.html
@@ -53,11 +53,7 @@
53
</span>
54
</button>
55
56
- @if (hideLabel) {
57
- <div class="aria-hidden" [attr.id]="_labelId">
58
- <ng-content></ng-content>
59
- </div>
60
- } @else {
+ @if (!hideLabel) {
61
<!--
62
Clicking on the label will trigger another click event from the button.
63
Stop propagation here so other listeners further up in the DOM don't execute twice.
0 commit comments