1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-28 07:13:29 +00:00
Files
browser/libs/components/src/toggle-group/toggle.component.html
Oscar Hinton ff7b625851 [CL-946] Migrate ToggleGroup to OnPush (#17718)
Migrates the ToggleGroup and Toggle components to use OnPush.
2025-12-05 13:06:03 +01:00

17 lines
424 B
HTML

<input
type="radio"
[id]="id"
[name]="name"
[class]="inputClasses"
[checked]="selected()"
(change)="handleInputChange()"
/>
<label [for]="id" [class]="labelClasses" [title]="labelTitle()">
<span class="tw-line-clamp-2 tw-break-words" #labelContent>
<ng-content></ng-content>
</span>
<span class="tw-shrink-0" [hidden]="!hasBadge()">
<ng-content select="[bitBadge]"></ng-content>
</span>
</label>