API REFERENCE
minLoadingDuration
Minimum loading-indicator duration to avoid brief flashes.
What does this API do?
Minimum loading-indicator duration to avoid brief flashes.
Exact input and result types
minLoadingDuration: number| Item | Value |
|---|---|
| JavaScript name | minLoadingDuration |
| HTML attribute | min-loading-duration |
| Default | DEFAULT_MIN_LOADING_DURATION_MS |
| Input type | number |
Usage flow
Set this on a property of the Grid element. In HTML, you can also use the min-loading-duration attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Loading and empty results
Loading and empty-data messages explain why the table has no visible content. Pending requests, no results, and failures are distinct states and should not share one empty screen.