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);
function bringItemTo(
: WebUiElementJS,
: number
) : any;
Parameters
- item
- WebUiElementJS to move.
- position
- The zero-based index of new position.
Exceptions
Exception | Description |
| 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
See Also