Skip to main content
cngx-src documentation

CngxSelectCaret

Directivev0.1.0WCAG AA

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

Import#

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

Description#

*cngxSelectCaret slot - overrides the trigger caret.

<cngx-select [options]="colors">
  <ng-template cngxSelectCaret let-open="open">
    <my-icon [name]="open ? 'chevron-up' : 'chevron-down'" />
  </ng-template>
</cngx-select>

Metadata#

Index#

Properties

Instance Properties#

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