projects/netgrif-components-core/src/lib/task-content/model/async-rendering-configuration.ts
Properties |
|
batchDelay |
batchDelay:
|
Type : number
|
Optional |
What is the delay between renders in milliseconds |
batchSize |
batchSize:
|
Type : number
|
Optional |
How many items are rendered at once |
enableAsyncRenderingForNewFields |
enableAsyncRenderingForNewFields:
|
Type : boolean
|
Optional |
Whether data fields that are not yet present in the task content should be rendered asynchronously or not |
enableAsyncRenderingOnTaskExpand |
enableAsyncRenderingOnTaskExpand:
|
Type : boolean
|
Optional |
Whether all data fields that are already loaded, when a task is expanded should be rendered asynchronously or not |
numberOfPlaceholders |
numberOfPlaceholders:
|
Type : number
|
Optional |
How many placeholder elements are rendered after the items |
export interface AsyncRenderingConfiguration {
/**
* How many items are rendered at once
*/
batchSize?: number;
/**
* What is the delay between renders in milliseconds
*/
batchDelay?: number;
/**
* How many placeholder elements are rendered after the items
*/
numberOfPlaceholders?: number;
/**
* Whether data fields that are not yet present in the task content should be rendered asynchronously or not
*/
enableAsyncRenderingForNewFields?: boolean;
/**
* Whether all data fields that are already loaded, when a task is expanded should be rendered asynchronously or not
*/
enableAsyncRenderingOnTaskExpand?: boolean;
}