forked from 0x2620/oxjs
allow for retrieving currently shown annotations from video annotation panel
This commit is contained in:
parent
ceca50ae59
commit
f1120a825b
3 changed files with 23 additions and 2 deletions
|
|
@ -1632,6 +1632,10 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
self.$annotationPanel.addItem(layer, annotation);
|
||||
};
|
||||
|
||||
that.getCurrentAnnotations = function() {
|
||||
return self.$annotationPanel.getCurrentAnnotations();
|
||||
};
|
||||
|
||||
/*@
|
||||
updateAnnotation <f> updateAnnotation
|
||||
(id, annotation) -> <o> update annotation with id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue