Class ItemHandlersCollection
Inheritance
ItemHandlersCollection
Constructors
(constructor)(layer)
Constructs a new instance of the ItemHandlersCollection class
Declaration
constructor(layer: Layer);
Parameters
| Type |
Name |
Description |
| Layer |
layer |
|
Methods
clear()
Declaration
Returns
insertAt(index, item)
Inserts handlers into the collection at the specified index.
Declaration
insertAt(index: number, item: ItemHandler): void;
Parameters
Returns
move(oldIndex, newIndex)
Declaration
move(oldIndex: number, newIndex: number): ItemHandler;
Parameters
| Type |
Name |
Description |
| number |
oldIndex |
|
| number |
newIndex |
|
Returns
removeAt(index)
Declaration
removeAt(index: any): ItemHandler;
Parameters
| Type |
Name |
Description |
| any |
index |
|
Returns