v7.3.0

ExpandCollapse
Mixin

Mixin that handles expanding and collapsing swimlanes and columns on the TaskBoard.

Users can expand and collapse using the UI. To do it programmatically, see:

Each of them accepts a column or a swimlane to expand/collapse. For example

taskBoard.collapse(taskBoard.columns.todo);
taskBoard.expand(taskBoard.swimlanes.high);

For convenience, the functions are also callable directly on columns/swimlanes:

taskBoard.columns.todo.expand();
taskBoard.swimlanes.high.collapse();

Expanding/collapsing is by default transitioned, await the calls to be certain that the UI is up to date:

await taskBoard.collapse(taskBoard.columns.todo);
await taskBoard.columns.todo.expand();
No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • By default, a tooltip showing Expand XX/Collapse XX is shown when hovering the expand/collapse icon for a column or swimlane. To disable the tooltip, set this to false.

    Has a corresponding runtime showCollapseTooltip property.

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class

    Events

    Events are triggered for certain actions in this class and can be listened for to react to those actions in your code

    Event handlers

    Event handlers are callbacks called as a result of certain actions in this class

    Source path

    TaskBoard/view/mixin/ExpandCollapse.js

    Contents