Updated animate events docs

This commit is contained in:
Luis Leiva 2017-12-17 23:19:42 +01:00
parent f3fa718fab
commit 691bf49d1e
2 changed files with 4 additions and 4 deletions

View File

@ -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.
* }, * },
* } * }
* }) * })

View File

@ -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.
* }, * },
* } * }
* }) * })