Footer: 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.footer |
object | Footer data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.footer.backgroundColor |
string | Background color value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.footer.brand |
object | Brand data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.footer.brand.hasLogo |
boolean | Whether logo applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.footer.brand.logoAlt |
string | Logo alt value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.footer.brand.logoUrl |
string | Prepared logo URL; use unchanged. | When the parent is provided; check optional fields. |
viewModel.footer.brand.name |
string | Name value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.footer.columns |
array | Prepared columns collection; may be empty. | When the parent is provided; check optional fields. |
viewModel.footer.columns[].links |
array | Prepared links collection; may be empty. | For each existing item; optional child fields depend on item type. |
viewModel.footer.columns[].links[].label |
string | Label value supplied for this context. | For each existing item; optional child fields depend on item type. |
viewModel.footer.columns[].links[].openInNewWindow |
boolean | Whether open in new window applies; use for display only. | For each existing item; optional child fields depend on item type. |
viewModel.footer.columns[].links[].url |
string | Prepared url URL; use unchanged. | For each existing item; optional child fields depend on item type. |
viewModel.footer.columns[].title |
string | Title value supplied for this context. | For each existing item; optional child fields depend on item type. |
viewModel.footer.contact |
object | Contact data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.footer.contact.email |
string | Email value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.footer.contact.hasEmail |
boolean | Whether email applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.footer.contact.hasLines |
boolean | Whether lines applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.footer.contact.hasPhone |
boolean | Whether phone applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.footer.contact.heading |
string | Heading value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.footer.contact.lines |
array | Prepared lines collection; may be empty. | When the parent is provided; check optional fields. |
viewModel.footer.contact.phone |
string | Phone value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.footer.contact.phoneHref |
string | Phone href value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.footer.hasColumns |
boolean | Whether columns applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.footer.homeUrl |
string | Prepared home URL; use unchanged. | When the parent is provided; check optional fields. |
viewModel.footer.intro |
string | Intro value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.footer.serviceHeading |
string | Service heading value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.footer.socialLinks |
array | Prepared social links collection; may be empty. | When the parent is provided; check optional fields. |
viewModel.footer.socialLinks[].iconKey |
string | Icon key value supplied for this context. | For each existing item; optional child fields depend on item type. |
viewModel.footer.socialLinks[].label |
string | Label value supplied for this context. | For each existing item; optional child fields depend on item type. |
viewModel.footer.socialLinks[].openInNewWindow |
boolean | Whether open in new window applies; use for display only. | For each existing item; optional child fields depend on item type. |
viewModel.footer.socialLinks[].url |
string | Prepared url URL; use unchanged. | For each existing item; optional child fields depend on item type. |
viewModel.footer.styleAttribute |
string | Style attribute value supplied for this context. | When the parent is provided; check optional fields. |