TemplatedList
Stentor API Reference / stentor-models/src / TemplatedList
Interface: TemplatedList
Defined in: packages/stentor-models/src/Display/List/List.ts:9
Beta
Add to a display that has a list of items to give it the ability to be compiled with variables.
This is a new feature and may not work 100% as expected or may change.
Extended byβ
Propertiesβ
itemsObject?β
optionalitemsObject:string
Defined in: packages/stentor-models/src/Display/List/List.ts:18
Beta
Used when templating the list for automatic generation.
When using itemsObject, the first item in the list is the template and all other items in the list will be ignored.
This is not yet fully supported
itemsName?β
optionalitemsName:string
Defined in: packages/stentor-models/src/Display/List/List.ts:24
Beta
Used with itemsObject, it is then used to reference the current item in the list within the template.
This is not yet fully supported
range?β
optionalrange:object
Defined in: packages/stentor-models/src/Display/List/List.ts:31
Beta
When itemsObject is provided, this is the amount of list items to display along with the offset within the list.
This is not yet fully supported
lengthβ
length:
number
fromβ
from:
number
items?β
optionalitems:any[]
Defined in: packages/stentor-models/src/Display/List/List.ts:36
Beta