diff --git a/src/Selection.js b/src/Selection.js index a485766..5c86ed0 100644 --- a/src/Selection.js +++ b/src/Selection.js @@ -41,6 +41,11 @@ export default class Selection { return this.underlying.target; } + get targets() { + return (Array.isArray(this.underlying.target)) ? + this.underlying.target : [ this.underlying.target ]; + } + /** For consistency with WebAnnotation **/ isEqual(other) { if (!other) {