New to Kendo UI for Vue? Start a free 30-day trial

Represents the props of the TaskBoard component

Definition

Package:@progress/kendo-vue-taskboard

Properties

Sets the accessible name of the TaskBoard. Defaults to the localized taskBoard.ariaLabel message.

Example:
vue
<TaskBoard :aria-label="'Project board'" />

Represents the TaskBoardCard component. Accepts a custom Vue component that is rendered for each card.

Example:
vue
<TaskBoard :card="CustomCard" />

The elements that will be rendered inside the toolbar of the TaskBoard. Pass a TaskBoardToolbar as the default slot content of the TaskBoard.

Example:
vue
<TaskBoard>
  <TaskBoardToolbar>
    <Button>Add Task</Button>
  </TaskBoardToolbar>
</TaskBoard>

className?

string | string[]

Specifies a list of CSS classes that will be added to the TaskBoard element.

Example:
vue
<TaskBoard :class-name="'custom-taskboard'" />

Represents the TaskBoardColumn component. Accepts a custom Vue component that is rendered for each column.

Example:
vue
<TaskBoard :column="CustomColumn" />

Specifies the column data from type TaskBoardColumnModel.

Example:
vue
<TaskBoard :column-data="[
  { id: 1, title: 'To Do', status: 'todo' },
  { id: 2, title: 'In Progress', status: 'inProgress' }
]" />

id?

string

Specifies the id that will be added to the TaskBoard element.

Example:
vue
<TaskBoard :id="'taskboard-1'" />

Represents the change event. Triggered after tasks or columns are changed.

Parameters:eventTaskBoardChangeEvent
Example:
vue
<TaskBoard @change="(event) => console.log(event.data)" />

Specifies the priorities of the task board.

Example:
vue
<TaskBoard :priorities="[
  { priority: 'High', color: 'red' },
  { priority: 'Low', color: 'green' }
]" />

Represents the styles that are applied to the TaskBoard.

Example:
vue
<TaskBoard :style="{ backgroundColor: 'lightgray' }" />

tabIndex?

number

Specifies the tabIndex that will be added to the TaskBoard Column and Card elements. The Columns and the Cards are reachable with the Tab key by default.

Default:

0

Example:
vue
<TaskBoard :tab-index="0" />

Represents the task data from type TaskBoardTaskModel.

Example:
vue
<TaskBoard :task-data="[
  { id: 1, title: 'Task 1', status: 'todo', description: 'Description 1', priority: { priority: 'High', color: 'red' } },
  { id: 2, title: 'Task 2', status: 'inProgress', description: 'Description 2', priority: { priority: 'Low', color: 'green' } }
]" />