projects/netgrif-components-core/src/lib/view/task-view/models/task-view-configuration.ts
Configuration of behavior of task list managed by task view
Properties |
|
closeTaskTabOnNoTasks |
closeTaskTabOnNoTasks:
|
Type : Observable<boolean>
|
Optional |
If not present defaults to |
initiallyOpenOneTask |
initiallyOpenOneTask:
|
Type : Observable<boolean>
|
Optional |
If not present defaults to |
preferredEndpoint |
preferredEndpoint:
|
Type : TaskEndpoint
|
Optional |
If both this and the deprecated NAE_PREFERRED_TASK_ENDPOINT is provided, this option takes precedence. |
import {Observable} from 'rxjs';
import {TaskEndpoint} from './task-endpoint';
/**
* Configuration of behavior of task list managed by task view
*/
export interface TaskViewConfiguration {
/**
* If both this and the deprecated {@link NAE_PREFERRED_TASK_ENDPOINT} is provided, this option takes precedence.
*/
preferredEndpoint?: TaskEndpoint;
/**
* If not present defaults to `of(true)`
*/
initiallyOpenOneTask?: Observable<boolean>;
/**
* If not present defaults to `of(true)`
*/
closeTaskTabOnNoTasks?: Observable<boolean>;
}