TaskMenuItem
Item that adds a ··· button hooked up to display the TaskMenu on click.
Requires the TaskMenu to work as intended.
Task menu item
//<code-header>
fiddle.title = 'Task menu item';
//</code-header>
const taskBoard = new TaskBoard({
appendTo : targetElement,
features : {
columnToolbars : false,
taskMenu : true
},
headerItems : {
menu : { type : 'taskMenu', order : 200 }
},
columns : [
'todo',
'doing',
'done'
],
columnField : 'status',
project : {
tasks : [
{
id : 1,
name : 'Go surfing',
status : 'doing',
prio : 'Low'
},
{
id : 2,
name : 'Go skiing',
status : 'done',
prio : 'Medium'
},
{
id : 3,
name : 'Go camping',
status : 'todo',
prio : 'High'
}
]
}
});Properties
2
Properties
2Identifies an object as an instance of TaskMenuItem class, or subclass thereof.
Identifies an object as an instance of TaskMenuItem class, or subclass thereof.
Typedefs
1
Typedefs
1TaskItemOptionsTaskItem