A simple mouse lasso for jQuery ui
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
jquery-lasso.js

README.md

jQuery-ui-lasso

A quick hack of jQuery-ui-selectable to pull out the lasso functionality.

##Example $(document).lasso({ delay: 100, stop: function (event, props) {

    // props is an object containing "top", "left",
    // "width", and "height" which correspond to 
    // the css props of the lasso when the lasso 
    // stopped.

    var 
      $link = $("<div/>", {
        css: props,
        className: "link"
      })
      .appendTo('body')
    ;

  }
});