Register an app-wide {@link CngxTreeConfig} composed from with* features
provideTreeConfig
Functioncommon/interactive/treev0.1.0
projects/common/interactive/tree-controller/tree-config.ts
Description#
Register an app-wide CngxTreeConfig composed from with*
features.
bootstrapApplication(AppComponent, {
providers: [
provideTreeConfig(
withDefaultNodeIdFn<MyDomain>((v) => v.uuid),
withDefaultKeyFn<MyDomain>((v) => v.uuid),
withTreeCacheLimit(5000),
),
],
});