ui.data.ActiveList.set

Sets an element at the specified index. If the index exceeds that of the list's last element, the element will be added to the end of the list.

Returns this ui.data.ActiveList.

UsageReturns
ActiveList.set(index, el)ui.data.ActiveList
ArgumentTypeDetails
this: ui.data.activelistui.data.ActiveList

The ui.data.ActiveList instance.

indexNumber

The index to overwrite.

elObject

The element to set.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!