@progress/kendo-angular-listbox
Version:
Kendo UI for Angular ListBox
37 lines (36 loc) • 1.33 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { SVGIcon } from "@progress/kendo-svg-icons";
/**
* Defines the possible toolbar buttons that the ListBox can display.
*/
export type ActionName = 'moveUp' | 'moveDown' | 'transferTo' | 'transferFrom' | 'transferAllTo' | 'transferAllFrom' | 'remove';
/**
* Defines the possible values for customizing the toolbar position of the ListBox component.
*/
export type ListBoxToolbarPosition = 'left' | 'right' | 'top' | 'bottom';
/**
* Defines the possible tool and position settings that the ListBox can accept for its built-in toolbar.
*/
export interface ListBoxToolbarConfig {
/**
* Specifies the set of tools to display in the toolbar.
* When you omit this setting, all tools are included.
*/
tools?: ActionName[];
/**
* Specifies the position of the toolbar.
*/
position?: ListBoxToolbarPosition;
}
/**
* @hidden
*/
export interface Tool {
name: ActionName;
label: string;
icon: string;
svgIcon: SVGIcon;
}