Skip to main content
cngx-src documentation

withTreetableTemplates

Functiondata-display/treetable

projects/data-display/treetable/treetable.token.ts

Description#

Feature: app-wide default templates for the async-state surfaces (TreetableTemplates). Partial - unset keys keep the built-in markup. A projected slot on the instance always wins over this tier.

Because the values are TemplateRefs, this feature is typically registered at a component or route scope where a template reference is in reach, not in bootstrapApplication.

Signature#

withTreetableTemplates(templates: TreetableTemplates)

Parameters#

@paramtemplatesTreetableTemplates
  • The surface templates to register.

Returns#

TreetableFeature