Module view.fields.array_field
ArrayField module.
Class ArrayField
ArrayField:ArrayField (opts) | ArrayField constructor. |
Class ArrayField
ArrayField class.- ArrayField:ArrayField (opts)
-
ArrayField constructor.
Parameters:
- opts Table
- title string Title. (default 'Array')
- expand boolean Whether to expand the field in the Editor or open it with a button. (default false)
- canAdd boolean Allow adding new elements with the GUI. (default true)
- canRemove boolean Allow removing elements with the GUI. (default true)
See also:
Usage:
ArrayField({ name = "myArrayField", type = NumericField, value = {2, 1, -3}, canAdd = true, canRemove = false, })
- opts Table