For consistency with WebAnnotation
This commit is contained in:
parent
285ba55ea5
commit
4bd9c282e8
|
@ -41,6 +41,11 @@ export default class Selection {
|
||||||
return this.underlying.target;
|
return this.underlying.target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get targets() {
|
||||||
|
return (Array.isArray(this.underlying.target)) ?
|
||||||
|
this.underlying.target : [ this.underlying.target ];
|
||||||
|
}
|
||||||
|
|
||||||
/** For consistency with WebAnnotation **/
|
/** For consistency with WebAnnotation **/
|
||||||
isEqual(other) {
|
isEqual(other) {
|
||||||
if (!other) {
|
if (!other) {
|
||||||
|
|
Loading…
Reference in New Issue