UNPKG

@aurigma/design-atoms

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

35 lines 1.51 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { BaseTextHandlerData } from "./BaseTextHandlerData"; var CurvedTextHandlerData = /** @class */ (function (_super) { __extends(CurvedTextHandlerData, _super); function CurvedTextHandlerData(handler) { var _this = _super.call(this, handler) || this; _this.__type = "CurvedTextHandlerData"; if (handler == null) return _this; _this.firstUpdateIsComplete = handler.firstUpdateIsComplete; return _this; } CurvedTextHandlerData.prototype.applyState = function (textData, handler) { _super.prototype.applyState.call(this, textData, handler); if (handler != null) { handler.firstUpdateIsComplete = textData.firstUpdateIsComplete; } }; ; return CurvedTextHandlerData; }(BaseTextHandlerData)); export { CurvedTextHandlerData }; //# sourceMappingURL=CurvedTextHandlerData.js.map