Skip to main content
cngx-src documentation

CngxSelectAction

Directivev0.1.0WCAG AA

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

Import#

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

Description#

*cngxSelectAction slot - inline workflow projected per actionPosition (top / bottom / both). Zero visual default; the consumer template renders verbatim.

<cngx-action-select ...>
  <ng-template cngxSelectAction let-term let-commit="commit"
               let-pending="isPending">
    <button (click)="commit()" [disabled]="pending || !term">
      + Create "{{ term }}"
    </button>
  </ng-template>
</cngx-action-select>

Metadata#

Index#

Properties

Instance Properties#

templateRef#unknown
Readonly
inject<TemplateRef<CngxSelectActionContext>>(TemplateRef)