UNPKG

@progress/kendo-angular-treeview

Version:
24 lines (23 loc) 1.23 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Represents the arguments that the [`loadMoreNodes`](slug:api_treeview_loadmoredirective#kendotreeviewloadmore) function receives when the load more button is pressed. */ export interface LoadMoreRequestArgs { /** * Provides the data item for which you request more child nodes. */ dataItem: any; /** * The number of items currently rendered. */ skip: number; /** * The recommended number of new items to load. * This value matches the [`pageSize`](slug:api_treeview_loadmoredirective#pagesize) set in the [`kendoTreeViewLoadMore`](slug:api_treeview_loadmoredirective) directive. * You can return any number of items—the page size automatically adjusts based on how many items the [`loadMoreNodes`](slug:api_treeview_loadmoredirective#kendotreeviewloadmore) function actually returns. */ take: number; }