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
|
|
@ -106,7 +106,9 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
self.$widget.options({width: self.options.width});
|
||||
}
|
||||
self.$annotations.options({
|
||||
width: self.options.type == 'text' ? self.options.width + 8 : self.options.width
|
||||
width: self.options.type == 'text'
|
||||
? self.options.width + 8
|
||||
: self.options.width
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
@ -646,6 +648,10 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
return that;
|
||||
};
|
||||
|
||||
that.getCurrentAnnotations = function() {
|
||||
return getAnnotations();
|
||||
};
|
||||
|
||||
/*@
|
||||
removeItem <f> remove item
|
||||
() -> <o> remove selected item
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue