Closed hayjay closed 4 years ago
Hi @hayjay you can access to the boards data-id
simply using Javascript:
dropEl: function(el, target, source, sibling){
// get target board's id
console.log(target.parentElement.getAttribute('data-id'));
// get source board's id
console.log(source.parentElement.getAttribute('data-id'));
}
Currently, when an item is been moved to a board, three things are been returned namely :
All these are good to have, but i guess it would be nice if we can have the board id the item is been moved to as well. #dropEl function handles this