Closed Insolita closed 3 years ago
Something like this:
$('.cropbox .plugin').cropbox('getCb').addEventListener('cb:cropped', function(event) {
// your code
});
Good, thanks! But will be better if this ability will be provided by a widget anyway
You can help me with PR if you want.
We should not mix js and php, therefore the suggestion cannot be added. Please, use plain js.
I can't see a proper way to attach a custom callback on 'cb:cropped' event