SVG plugin constructor for jQuery Sketchable instances.
- Source:
Methods
(static) create(callback) → {jQuery}
Generate SVG.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
callback |
function
|
Callback function, executed with the SVG (string) as argument. |
Returns:
- Type:
-
jQuery
jQuery sketchable element.
Example
jqueryElem.sketchable('svg.create', function(contents) {
// Do something with the SVG string.
});