ExpCluster icon indicating copy to clipboard operation
ExpCluster copied to clipboard

Gui element allows return of array.

Open Cooldude2606 opened this issue 5 years ago • 0 comments

Feature overview Name: Gui element returning an array TL;DR: The gui module should allow for the return of an array of elements which will be looped over for styling,

Details Allow for the return of an array, each value in the array should be a valid element, and checked to be valid, before being passed to the style callback. This array can then be returned to the caller, the caller should expect a table based on the element factory called.

Possible methods Test for a table return type, then iterate over it with ipairs.

Additional context Idea from #190 when returning an array was expected to be supported.

Cooldude2606 avatar Jan 24 '21 04:01 Cooldude2606