Skip to main content
cngx-src documentation

CngxOptionStatus

Interface

projects/common/interactive/listbox/option-status-host.ts

Referenced by#

Import#

import { CngxOptionStatus } from '@cngx/common/interactive'

Description#

Discriminated status entry rendered in CngxOption's reserved internal status slot.

kind separates pending (in-flight commit) from error (failed commit) so styling can branch on the host attribute [attr.data-status]. tpl carries the actual glyph; the host MAY return tpl: null to reserve layout space without rendering anything (rare - used for force-revealing the slot during animation transitions).

Index#

Properties

Instance Properties#

kind#"pending" | "error"
Readonly
tpl#TemplateRef | null
Readonly