1.0.18
- Adds annotations events on iOS (#32).
Usage:
PSPDFKit.addEventListener('onAnnotationsChanged', function(event){
console.log('Changed annotations: ' + JSON.stringify(event["annotations"]));
});
PSPDFKit.addEventListener('onAnnotationsAdded', function(event){
console.log('Added annotations: ' + JSON.stringify(event["annotations"]));
});
PSPDFKit.addEventListener('onAnnotationsRemoved', function(event){
console.log('Removed annotations: ' + JSON.stringify(event["annotations"]));
});