@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
18 lines • 586 B
JavaScript
import { GroupItemHandler } from "./GroupItemHandler";
export class ClipartItemHandler extends GroupItemHandler {
get item() {
return this._getItem();
}
_onItemPropertyChanged(sender, propertyName) {
switch (propertyName) {
case "colorGroups":
if (this.canvas != null) {
this.update();
this.canvas.redraw();
}
break;
}
super._onItemPropertyChanged(sender, propertyName);
}
}
//# sourceMappingURL=ClipartItemHandler.js.map