Creates a new ArrayModel.
Pushes new values to the array that's backing the model and notifies the run-time about the added rows.
Removes the specified number of element from the array that's backing the model, starting at the specified index. This is equivalent to calling Array.slice() on the array and notifying the run-time about the removed rows.
ArrayModel wraps a JavaScript array for use in
.slint
views. The underlying array can be modified with the ArrayModel.push and ArrayModel.remove methods.