@progress/kendo-angular-dropdowns
Version:
A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree
22 lines (21 loc) • 746 B
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Represents the callback arguments that are used by the `itemDisabled` property.
*/
export interface ItemArgs {
/**
* The current data item.
*/
dataItem: any;
/**
* The current item index.
*/
index: number;
}
/**
* Represents the callback that is used by the `itemDisabled` property.
*/
export type ItemDisabledFn = (context: ItemArgs) => boolean;