onSelectionLoadProgress MethodOptional

Called to report progress of selection load. Arguments:

  • loaded - number of items loaded
  • total - total number of items that need to be loaded
  • cancel - callback method to cancel the load

Note: the callback is only called when selection change involves some not-loaded nodes.

onSelectionLoadProgress(loaded: number, total: number, cancel: () => void): void

Parameter Type Description
loaded number  
total number  
cancel () => void  

Returns - void

Defined in

Last Updated: 11 June, 2024