mirror of https://github.com/luileito/jsketch.git
Updated animate events docs
This commit is contained in:
parent
f3fa718fab
commit
691bf49d1e
|
|
@ -154,13 +154,13 @@
|
||||||
* jqueryElem.sketchable('config', {
|
* jqueryElem.sketchable('config', {
|
||||||
* events: {
|
* events: {
|
||||||
* animationstart: function(elem, data) {
|
* animationstart: function(elem, data) {
|
||||||
* // Animation started.
|
* // Animation started: the first stroke is being drawn.
|
||||||
* },
|
* },
|
||||||
* animationstep: function(elem, data) {
|
* animationstep: function(elem, data) {
|
||||||
* // Animation steped: a new stroke is being drawn.
|
* // Animation steped: a new stroke is being drawn.
|
||||||
* },
|
* },
|
||||||
* animationend: function(elem, data) {
|
* animationend: function(elem, data) {
|
||||||
* // Animation ended.
|
* // Animation ended: the last stroke has been drawn.
|
||||||
* },
|
* },
|
||||||
* }
|
* }
|
||||||
* })
|
* })
|
||||||
|
|
|
||||||
|
|
@ -156,13 +156,13 @@
|
||||||
* sketchableInstance.config({
|
* sketchableInstance.config({
|
||||||
* events: {
|
* events: {
|
||||||
* animationstart: function(elem, data) {
|
* animationstart: function(elem, data) {
|
||||||
* // Animation started.
|
* // Animation started: the first stroke is being drawn.
|
||||||
* },
|
* },
|
||||||
* animationstep: function(elem, data) {
|
* animationstep: function(elem, data) {
|
||||||
* // Animation steped: a new stroke is being drawn.
|
* // Animation steped: a new stroke is being drawn.
|
||||||
* },
|
* },
|
||||||
* animationend: function(elem, data) {
|
* animationend: function(elem, data) {
|
||||||
* // Animation ended.
|
* // Animation ended: the last stroke has been drawn.
|
||||||
* },
|
* },
|
||||||
* }
|
* }
|
||||||
* })
|
* })
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue