Add missing pagesCount
getter to IPDFLinkService
and SimpleLinkService
This commit is contained in:
parent
9e9426c354
commit
df8d9f45f9
@ -20,6 +20,11 @@
|
||||
* @interface
|
||||
*/
|
||||
class IPDFLinkService {
|
||||
/**
|
||||
* @returns {number}
|
||||
*/
|
||||
get pagesCount() {}
|
||||
|
||||
/**
|
||||
* @returns {number}
|
||||
*/
|
||||
|
@ -408,12 +408,22 @@ function isValidExplicitDestination(dest) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @implements {IPDFLinkService}
|
||||
*/
|
||||
class SimpleLinkService {
|
||||
constructor() {
|
||||
this.externalLinkTarget = null;
|
||||
this.externalLinkRel = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {number}
|
||||
*/
|
||||
get pagesCount() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {number}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user