This repository has been archived on 2024-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
epubreader/vendor/pdfjs/services/simple_link_service.js
2020-04-21 22:37:42 +02:00

35 lines
842 B
JavaScript

PDFJS.Reader.SimpleLinkService = function () {
return this;
};
Object.defineProperties(PDFJS.Reader.SimpleLinkService, {
'page': {
get: function () { return 0; },
set: function(value) {}
}
});
PDFJS.Reader.SimpleLinkService.prototype.navigateTo = function (destUrl) {
};
PDFJS.Reader.SimpleLinkService.prototype.getDestinationHash = function (destination) {
return "#";
};
PDFJS.Reader.SimpleLinkService.prototype.getAnchorUrl = function (anchor) {
return "#";
};
PDFJS.Reader.SimpleLinkService.prototype.setHash = function (hash) {
};
PDFJS.Reader.SimpleLinkService.prototype.executeNamedAction = function (action) {
};
PDFJS.Reader.SimpleLinkService.prototype.onFileAttachmentAnnotation = function (params) {
};
PDFJS.Reader.SimpleLinkService.prototype.cachePageRef = function (pageNum, pageRef) {
};