Skip to content

1.0.18

Compare
Choose a tag to compare
@radazzouz radazzouz released this 10 Aug 13:26
· 35 commits to master since this release
d21b770
  • 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"]));
});