You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: