UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

28 lines 963 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ZoomDestination = void 0; const index_1 = require("./../index"); class ZoomDestination extends index_1.DestinationEvent { constructor(data) { super(data); this.zoomPage = index_1.ZoomDestinationZoomPage.fromJson(data === null || data === void 0 ? void 0 : data.zoomPage); } static getZoomPageDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new ZoomDestination(data); } toJson() { var _a; return Object.assign(Object.assign({}, (super.toJson())), { 'zoomPage': (_a = this.zoomPage) === null || _a === void 0 ? void 0 : _a.toJson() }); } clone() { return ZoomDestination.fromJson(this.toJson()); } } exports.ZoomDestination = ZoomDestination; //# sourceMappingURL=ZoomDestination.js.map