@for (platform of platforms; track $index) {
<div
class="wrapper"
[class.wrapper_web]="platform === 'web'"
[tuiPlatform]="platform"
>
{{ platform }}
<input
tuiCheckbox
type="checkbox"
[ngModel]="true"
[size]="getSize($first)"
/>
<input
tuiCheckbox
type="checkbox"
[indeterminate]="true"
[size]="getSize($first)"
/>
<input
tuiCheckbox
type="checkbox"
[disabled]="true"
[ngModel]="true"
[size]="getSize($first)"
/>
<input
tuiCheckbox
type="checkbox"
[size]="getSize($first)"
/>
<input
tuiCheckbox
type="checkbox"
[disabled]="true"
[ngModel]="false"
[size]="getSize($first)"
/>
<input
tuiCheckbox
type="checkbox"
[formControl]="invalidTrue"
[size]="getSize($first)"
/>
<input
tuiCheckbox
type="checkbox"
[formControl]="invalidFalse"
[size]="getSize($first)"
/>
</div>
}
:host {
display: flex;
--tui-background-accent-2: var(--tui-status-info);
}
.wrapper {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
flex: 1;
gap: 1rem;
padding: 1rem;
&_web {
border: 1px solid var(--tui-border-normal);
border-inline-start-width: 0;
&:first-child {
border-inline-end-width: 0;
border-inline-start-width: 1px;
}
}
}