Skip to content

Properties#

TypeDescription
pathstring(optional) The path to the array to add the new item to.
itemPathstring(optional) The path to the item in a nested array, to add the new item to.
pushValueunknown(optional) The element to add to the array when the button is clicked. Can be a function that returns the push value.
ButtonVarious(optional) All button properties. A given onClick runs before the item is added, instead of replacing it. Return false from it to skip adding the item.
Suggest an edit