一款可以拖拽div层的控制面板,可以作为任务清单列表等,强大的拖拽排序网页特效。回调方法var KanbanTest = new jKanban({ click: function (el) { // when an item is clicked }, dragEl : function (el, source) { // when an item is dragging }, dragendEl: function (el) { // when an item stops dragging }, dropEl: function (el, target, source, sibling) { // when an item is dropped }, dragBoard: function (el, source) { // when a board is dragging }, dragendBoard: function (el) { // when a board stops dragging } })API方法// add an element KanbanTest.addElement(boardID, element); // add a form element KanbanTest.addForm(boardID, formItem); // add boards KanbanTest.addBoards(boards); // find item by ID KanbanTest.findElement(id); // replace item by id KanbanTest.replaceElement(id); // get parent board ID KanbanTest.getParentBoardID(id); // find board by ID KanbanTest.findBoard(id); // get board element by ID KanbanTest.getBoardElements(id); // remove an element by ID KanbanTest.removeElementid(id); // remove a board by ID KanbanTest.removeBoard(id);
preview Points Download 6毛Download Share Download
未经允许不得转载: ICode联盟 » Plugin Special Effects » 网页拖拽div层js插件