Skip to main content
cngx-src documentation

CngxIncrementalError

Directivev0.1.0

projects/ui/collection/incremental-list-slots.ts

Import#

import { CngxIncrementalError } from '@cngx/ui/collection'

Description#

Error slot. Project <ng-template cngxIncrementalError let-retry="retry"> to replace the built-in error + retry view. Resolution cascades instance slot -> CngxIncrementalListConfig.templates.error -> the built-in message + button.

Metadata#

Index#

Instance Properties#

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

Methods#

ngTemplateContextGuard#CngxIncrementalErrorContext
Static
ngTemplateContextGuard(_dir: CngxIncrementalError, ctx: unknown)
@paramctxunknown