Skip to main content
cngx-src documentation

CngxSelectOptionPending

Directivev0.1.0WCAG AA

projects/forms/select/shared/template-slots.ts

Import#

import { CngxSelectOptionPending } from '@cngx/forms/select'

Description#

*cngxSelectOptionPending slot - replaces .cngx-select__option-spinner.

<cngx-multi-select ...>
  <ng-template cngxSelectOptionPending let-opt>
    <my-inline-spinner [label]="opt.label + ' saving'" />
  </ng-template>
</cngx-multi-select>

Metadata#

Index#

Properties

Instance Properties#

templateRef#unknown
Readonly
inject<TemplateRef<CngxSelectOptionPendingContext<T>>>(TemplateRef)