UNPKG

@progress/kendo-angular-toolbar

Version:

Kendo UI Angular Toolbar component - a single UI element that organizes buttons and other navigation elements

46 lines (45 loc) 1.93 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ToolbarCustomMessagesComponent } from "./localization/custom-messages.component"; import { ToolBarComponent } from "./toolbar.component"; import { ToolBarButtonComponent } from "./tools/toolbar-button.component"; import { ToolBarButtonGroupComponent } from "./tools/toolbar-buttongroup.component"; import { ToolBarDropDownButtonComponent } from "./tools/toolbar-dropdownbutton.component"; import { ToolBarSeparatorComponent } from "./tools/toolbar-separator.component"; import { ToolBarSpacerComponent } from "./tools/toolbar-spacer.component"; import { ToolBarSplitButtonComponent } from "./tools/toolbar-splitbutton.component"; import { ToolBarToolComponent } from "./tools/toolbar-tool.component"; /** * Use this utility array to access all `@progress/kendo-angular-toolbar`-related components and directives in a standalone Angular component. * * @example * ```typescript * import { Component } from '@angular/core'; * import { KENDO_TOOLBAR } from '@progress/kendo-angular-toolbar'; * * @Component({ * selector: 'my-app', * standalone: true, * imports: [KENDO_TOOLBAR], * template: ` * <kendo-toolbar> * <kendo-toolbar-button text="Button"></kendo-toolbar-button> * </kendo-toolbar> * ` * }) * export class AppComponent {} * ``` */ export const KENDO_TOOLBAR = [ ToolBarComponent, ToolbarCustomMessagesComponent, ToolBarButtonComponent, ToolBarButtonGroupComponent, ToolBarDropDownButtonComponent, ToolBarSeparatorComponent, ToolBarSpacerComponent, ToolBarSplitButtonComponent, ToolBarToolComponent ];