@progress/kendo-vue-listbox
Version:
40 lines (39 loc) • 1.32 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { ListBoxToolbarClickEvent } from './ListBoxEvents';
export interface ListBoxToolbarProps {
/**
* Sets the tools of the ListBoxToolbar. By default, the ListBoxToolbar renders no tools.
* The built-in tools are:
* * `moveUp`
* * `moveDown`
* * `transferTo`
* * `transferFrom`
* * `transferAllTo`
* * `transferAllFrom`
* * `remove`
*/
tools?: Array<string>;
/**
* The data of the main ListBox.
*/
dataItems: Array<any>;
/**
* The data of the connected ListBox.
*/
dataConnected: Array<any>;
/**
* Set the selected field of the ListBoxToolbar.
* Based on that value of that field the ListBoxToolbar will determine which actions are allowed and which disabled.
*/
selectedField?: string;
/**
* Fires when one of the ListBoxToolbar tools is clicked.
*/
onToolclick?: (event: ListBoxToolbarClickEvent) => void;
}