riktar / jkanban

Vanilla Javascript plugin for manage kanban boards
https://www.riccardotartaglia.it/jkanban/
Apache License 2.0
1.06k stars 296 forks source link

the json about boards #136

Closed 0484cjagw closed 2 years ago

0484cjagw commented 2 years ago

Do you change the JSON of board after the item is moved? If not, how do you change it

xscode-auto-reply[bot] commented 2 years ago

Thanks for opening a new issue. The team has been notified and will review it as soon as possible. For urgent issues and priority support, visit https://xscode.com/riktar/jkanban

0484cjagw commented 2 years ago

How can I get the id of the board after item is moved

Rampesna commented 2 years ago

You can try this,

dropEl: function (el, source) {
            // el.dataset.eid -> element id
            // el.parentNode.parentNode.dataset.id -> moved target board id
        },