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