New to Kendo UI for AngularStart a free 30-day trial

Angular Menus Dependencies and Standalone Utilities

This article explores the utilities provided by the Kendo UI for Angular Menus for standalone components and the required dependencies for the package.

Kendo Angular Menus Utility Arrays

The concept of standalone components in Angular enables you to import only the components and directives in use.

For convenience, all related Menus 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 Menus API.

For example, the KENDO_CONTEXTMENU utility array allows you to use the Kendo UI for Angular ContextMenu and all its features in your standalone component.

ts
import { Component } from '@angular/core';
import { KENDO_CONTEXTMENU } from '@progress/kendo-angular-menu';

@Component({
    standalone: true,
    selector: 'my-app',
    imports: [KENDO_CONTEXTMENU]
})

The following table lists the exported utility arrays that you can import in your standalone Angular project.

Utility ArrayIncludes
KENDO_CONTEXTMENUContextMenu component
KENDO_MENUMenu component
KENDO_MENUSAll Menus components and directives

Kendo Angular Menus Dependencies

The following table lists the required dependencies that the Menus package needs to work as expected.

Package NameDescription
@angular/commonProvides the commonly-needed services, pipes, and directives provided by the Angular team. For more information, refer to the official Angular documentation.
@angular/coreContains critical runtime parts of the Angular framework that are needed by every application. For more information, refer to the official Angular documentation.
@angular/animationsContains the library of Angular animations. For more information, refer to the official Angular documentation.
@progress/kendo-angular-commonContains common utilities that are needed by every Kendo UI for Angular component.
@progress/kendo-angular-popupContains the Kendo UI for Angular Popup component.
@progress/kendo-angular-iconsContains the Kendo UI for Angular Icons.
@progress/kendo-angular-l10nProvides the globalization features of Kendo UI for Angular.
@progress/kendo-licensingContains the kendo-ui-license CLI utility for license management and the internal infrastructure related to licensing.
rxjsProvides the RxJS library for reactive programming which uses Observables for an easier composition of asynchronous or callback-based code.

Learning Resources