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'
            }
        ]
    }
});

Configs

6
clsTaskItem
editorTaskItem
fieldTaskItem
hiddenTaskItem
orderTaskItem
styleTaskItem

Properties

2
isTaskMenuItem: Boolean= truereadonly
Identifies an object as an instance of TaskMenuItem class, or subclass thereof.
isTaskMenuItem: Boolean= truereadonlystatic
Identifies an object as an instance of TaskMenuItem class, or subclass thereof.

Typedefs

1