I try to understand events in camanjs
, but I need some examples. Can everyone write me simple example about this:
1) load image in to canvas
(done)
Caman("#canvas-img2", base64_or_path_to_image, function () {
this.nostalgia();
this.render();
});
2) listen to end filtering, for callback
with this.toBase64()
In docs, I found event page, but don't understand how it works.