UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

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