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.

18 lines (17 loc) 643 B
import { Collection } from "@aurigma/design-atoms-model/Collection"; import { Layer } from "../Layer"; import { ItemHandler } from "./ItemHandler"; export declare class ItemHandlersCollection extends Collection<ItemHandler> { private _layer; constructor(layer: Layer); /** * Inserts handlers into the collection at the specified index. */ insertAt(index: number, item: ItemHandler): void; move(oldIndex: number, newIndex: number): ItemHandler; removeAt(index: any): ItemHandler; clear(): void; private _onHandlerAdded; private _onHandlerRemoved; private _applyLayerAndCanvas; }