File

projects/netgrif-components-core/src/lib/view/task-view/models/task-view-configuration.ts

Description

Configuration of behavior of task list managed by task view

Index

Properties

Properties

closeTaskTabOnNoTasks
closeTaskTabOnNoTasks: Observable<boolean>
Type : Observable<boolean>
Optional

If not present defaults to of(true)

initiallyOpenOneTask
initiallyOpenOneTask: Observable<boolean>
Type : Observable<boolean>
Optional

If not present defaults to of(true)

preferredEndpoint
preferredEndpoint: TaskEndpoint
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>;
}

result-matching ""

    No results matching ""