We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c886eb commit 069256eCopy full SHA for 069256e
public/javascripts/DV/controllers/api.js
@@ -196,6 +196,11 @@ DV.Api.prototype = {
196
getAnnotation : function(aid) {
197
return this.viewer.models.annotations.getAnnotation(aid);
198
},
199
+
200
+ setCurrentAnnotation: function(aid) {
201
+ var noteModel = this.viewer.models.annotations.getAnnotation(aid);
202
+ this.viewer.pageSet.showAnnotation(noteModel);
203
+ },
204
205
// Add a new annotation to the document, prefilled to any extent.
206
addAnnotation : function(anno) {
0 commit comments