Skip to content

A simple jquery plugin that enables simple drawing functionality on an automatically generated html5 canvas.

License

Notifications You must be signed in to change notification settings

gar-cad/jquery.sketchIt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jquery.sketchIt

A simple jquery plugin that enables simple drawing functionality on an automatically generated html5 canvas

Prerequisites

jquery 2.0.1, jquery mobile (to use the virtual mouse bindings)

Set up

Install the plugin, and use the following source code as an example. Basic use (using the default syntax), more examples can be found in the demo folder.

HTML
<div id="ex1"></div>
javascript
<script src="http://code.jquery.com/jquery-2.0.1.min.js"></script>
<script src="src/jquery-ui.min.js"></script>
<script src="src/jquery.mobile.custom.min.js"></script>
<script src="src/jquery.sketchIt.min.js"></script>
<script>
    $(function () {
        $('#ex1').sketchIt();
    });
</script>
CSS
<style>
    #ex1 {
        height: 200px;
    }
</style>

Examples

View the examples in the demo folder.

Author

  • Gareth Cadwaladr - Initial work - gar-cad

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A simple jquery plugin that enables simple drawing functionality on an automatically generated html5 canvas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published