Skip to content

Commit 6991fb2

Browse files
committed
feat: add hover text to Toggle component
1 parent c673689 commit 6991fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<label class="switch">
1+
<label class="switch" [title]="state ? 'Enabled' : 'Disabled'">
22
<input [(ngModel)]="state" (ngModelChange)="changeState()" type="checkbox" />
33
<span class="slider"></span>
44
</label>

0 commit comments

Comments
 (0)