UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

31 lines 1.04 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SelectionTransition = void 0; class SelectionTransition { constructor(data) { let pagesDefault = ""; this.pages = typeof (data === null || data === void 0 ? void 0 : data.pages) !== "undefined" ? data === null || data === void 0 ? void 0 : data.pages : pagesDefault; } static getPagesDefault() { return ""; } static getPagesDescription() { return "Used to define the page number or page range (e.g., \"1,5-6,9\") from which the transition animations should be removed."; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new SelectionTransition(data); } toJson() { return { 'pages': this.pages, }; } clone() { return SelectionTransition.fromJson(this.toJson()); } } exports.SelectionTransition = SelectionTransition; //# sourceMappingURL=SelectionTransition.js.map