var instance = new Vintasoft.Imaging.UI.VisualTools.WebInteractiveObjectCollectionJS(typeOfElements); var value; // Type: number // Parameters var item; // Type: object value = instance.indexOf(item);
function indexOf(
itemThe item to search for.: object
) : number;
Parameters
- item
- The item to search for.
Return Value
The zero-based index of the collection, or -1 if the item is not found in the collection.