Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 453 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 453 Bytes

overview

eg

usage

var context = $('#right');
const lasso = new Lasso({
    keycode: 16, // key code
    context: context, // container
    nodeClassName: 'node', // node class name
    checkedClassName: 'lasso_checked_nodes' // lasso class name 
});
lasso.create();
lasso.getCheckedNode((node) => {
    console.log(node, 'nodess');
});
  1. press shift and drag mouse to choose item
  2. press ctrl + v to emit copy listener