const taskBoardConfig = {
// Append its element to the page
appendTo : "taskBoardContainer",
// Define some columns
columns : [
'todo',
'doing',
'done'
],
// Link the columns to a field on the tasks
columnField : 'status',
// Define some tasks
project : {
tasksData : [
{ id : 1, name : 'My first task', status : 'doing' },
{ id : 2, name : 'My second task', status : 'todo' }
]
}
}
this.taskBoard = new TaskBoard(taskBoardConfig);
this.taskBoardCreated = true;
this is my simple code copied from your sample
my project is Angular
this code is on my .ts file
in my html file i have only one DIV called taskBoardContainer
if I use appendTo : "taskBoardContainer"
I have this error
core.js:4352 ERROR TypeError: f[Jb(...)] is not a function
at Function.getSharedTooltip (taskboard.module.js:10:611602)
at TaskBoard.get tooltip (taskboard.module.js:10:435873)
at TaskBoard.getConfig (taskboard.module.js:10:34730)
at TaskBoard.triggerPaint (taskboard.module.js:10:441363)
at TaskBoard.render (taskboard.module.js:10:408308)
at TaskBoard.render (taskboard.module.js:10:513780)
at TaskBoard.finalizeInit (taskboard.module.js:10:398047)
at TaskBoard.finalizeInit (taskboard.module.js:10:553138)
at TaskBoard.construct (taskboard.module.js:10:397692)
at new Base$1 (taskboard.module.js:10:31114)
What can be the problem? Do you have any suggestion?