@aurigma/design-atoms-model
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
16 lines (15 loc) • 722 B
TypeScript
import { ModelComponent } from "../ModelComponent";
import { Container } from "../Container";
export declare class BaseItem extends ModelComponent {
private _parentContainer;
get parentContainer(): Container;
set parentContainer(value: Container);
protected _onContainerChanged(): void;
static type: string;
type: string;
protected _copy(source: BaseItem, destination: BaseItem, generateNewIds: boolean, appropriateParentContainer: boolean): void;
clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): BaseItem;
copyTo(destination: BaseItem): void;
update(item: BaseItem): void;
getSimplifiedObject(omitProperties?: string[] | string): Object;
}