@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
29 lines • 916 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddPageTransitions = void 0;
const index_1 = require("./../index");
class AddPageTransitions {
constructor(data) {
this.pageTransition = index_1.Transition.fromJson(data === null || data === void 0 ? void 0 : data.pageTransition);
}
static getPageTransitionDescription() {
return "";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new AddPageTransitions(data);
}
toJson() {
var _a;
return {
'pageTransition': (_a = this.pageTransition) === null || _a === void 0 ? void 0 : _a.toJson(),
};
}
clone() {
return AddPageTransitions.fromJson(this.toJson());
}
}
exports.AddPageTransitions = AddPageTransitions;
//# sourceMappingURL=AddPageTransitions.js.map