*cngxSelectRetryButton slot
CngxSelectRetryButton
Directivev0.1.0WCAG AA
projects/forms/select/shared/template-slots.ts
Import#
import { CngxSelectRetryButton } from '@cngx/forms/select'
Description#
*cngxSelectRetryButton slot. Drives all three retry surfaces. Wiring
- disabled handling stay with the shell.
<cngx-select [state]="colorsState" [retryFn]="reload">
<ng-template cngxSelectRetryButton let-retry let-disabled="disabled" let-label="label">
<my-button kind="ghost" [disabled]="disabled" (clicked)="retry()">{{ label }}</my-button>
</ng-template>
</cngx-select>