Overrides the default command row
CngxCommandRow
Directivev0.1.0
projects/ui/command-palette/slots/command-slots.ts
Import#
import { CngxCommandRow } from '@cngx/ui/command-palette'
Description#
Overrides the default command row. Project as content of
<cngx-command-palette>:
<cngx-command-palette>
<ng-template cngxCommandRow let-entry let-active="active">
<my-icon [name]="entry.command.icon" />
<span>{{ entry.command.label }}</span>
</ng-template>
</cngx-command-palette>Metadata#
Index#
Properties
Methods
Instance Properties#
Methods#
ngTemplateContextGuard#
CngxCommandRowContextStatic
ngTemplateContextGuard(_dir: CngxCommandRow, ctx: unknown)@paramctx
unknown