Angular TreeView Dependencies and Standalone Utilities
This article explores the utilities provided by the Kendo UI for Angular TreeView for standalone components and the required dependencies for the package.
Kendo TreeView Utility Array
The concept of standalone components in Angular enables you to import only the components and directives in use.
For convenience, all TreeView components and directives are logically combined into a single utility array that you can directly import in your standalone component. At the same time, you can still import individual components, directives, and pipes from the TreeView API.
The Kendo UI for Angular TreeView package exports only the
KENDO_TREEVIEW
utility array that enables the entire feature set of the component.
import { Component } from '@angular/core';
import { KENDO_TREEVIEW } from '@progress/kendo-angular-treeview';
@Component({
standalone: true,
selector: 'my-app',
imports: [KENDO_TREEVIEW]
})
Kendo Angular TreeView Dependencies
The following table lists the required dependencies that the TreeView package needs to work as expected.
Package Name | Description |
---|---|
@angular/common | Provides the commonly-needed services, pipes, and directives provided by the Angular team. For more information, refer to the official Angular documentation. |
@angular/core | Contains critical runtime parts of the Angular framework that are needed by every application. For more information, refer to the official Angular documentation. |
@angular/animations | Contains the library of Angular animations. For more information, refer to the official Angular documentation. |
@progress/kendo-angular-common | Contains common utilities that are needed by every Kendo UI for Angular component. |
@progress/kendo-angular-icons | Contains the Kendo UI for Angular Icons. |
@progress/kendo-angular-inputs | Contains the Kendo UI for Angular Inputs components. |
@progress/kendo-angular-intl | Provides the Kendo UI for Angular services and pipes for the parsing and formatting of dates and numbers. |
@progress/kendo-angular-l10n | Provides the globalization features of Kendo UI for Angular. |
@progress/kendo-angular-popup | Contains the Kendo UI for Angular Popup component. |
@progress/kendo-drawing | Provides the Kendo UI cross-browser library for interactive vector graphics. |
@progress/kendo-licensing | Contains the kendo-ui-license CLI Tool for license management and the validatePackage function and type definitions that are used by licensed packages. |
rxjs | Provides the RxJS library for reactive programming which uses Observables for an easier composition of asynchronous or callback-based code. |