Skip to main content
cngx-src documentation

CngxSelectInputPrefix

Directivev0.1.0WCAG AA

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

Import#

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

Description#

*cngxSelectInputPrefix slot - projected before the trigger <input>. CngxTypeahead / CngxCombobox only.

<cngx-typeahead ...>
  <ng-template cngxSelectInputPrefix let-focused="focused">
    <svg class="magnifier" [class.active]="focused" />
  </ng-template>
</cngx-typeahead>

Metadata#

Index#

Properties

Instance Properties#

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