Skip to content

Theme configuration: theme data reference

Reading the data tables. Presence varies by page and state; this is not a requirement to populate every field.

Field Type Meaning Availability
viewModel.theme object Theme data; check child fields before use. When the parent is provided; check optional fields.
viewModel.theme.assetBaseUrl string Prepared asset base URL; use unchanged. When the parent is provided; check optional fields.
viewModel.theme.key string Key value supplied for this context. When the parent is provided; check optional fields.
viewModel.theme.scripts string[] Ordered resolved asset URLs. Include each URL once. When theme data is present; the array can be empty.
viewModel.theme.stylesheets string[] Ordered resolved asset URLs. Include each URL once. When theme data is present; the array can be empty.