A simple jquery plugin that enables simple drawing functionality on an automatically generated html5 canvas
jquery 2.0.1, jquery mobile (to use the virtual mouse bindings)
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.
<div id="ex1"></div>
<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>
<style>
#ex1 {
height: 200px;
}
</style>
View the examples in the demo folder.
- Gareth Cadwaladr - Initial work - gar-cad
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details