VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.UIElements Namespace / WebUiElementCollectionJS type / bringItemTo Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
bringItemTo Method
In This Topic
Brings the specified item to the specified position in the collection.
Syntax
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiElementCollectionJS(items, readOnly);

var value; // Type: any

// Parameters
var item; // Type: WebUiElementJS
var position; // Type: number

value = instance.bringItemTo(item, position);

Parameters

item
WebUiElementJS to move.
position
The zero-based index of new position.
Exceptions
ExceptionDescription
Thrown if arguments have wrong types.
Thrown if index is less than zero or index is equal to or greater than collection length.
Browser Compatibility
56+
45+
11
See Also