Skip to content

Account header: 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.accountHeader object Account header data; check child fields before use. When the parent is provided; check optional fields.
viewModel.accountHeader.displayName string Display name value supplied for this context. When the parent is provided; check optional fields.
viewModel.accountHeader.email string Email value supplied for this context. When the parent is provided; check optional fields.
viewModel.accountHeader.fallbackLabel string Prepared fallback display text. When the parent is provided; check optional fields.
viewModel.accountHeader.isAuthenticated boolean Whether authenticated applies; use for display only. When the parent is provided; check optional fields.
viewModel.accountHeader.label string Label value supplied for this context. When the parent is provided; check optional fields.
viewModel.accountHeader.menuItems array Prepared menu items collection; may be empty. When the parent is provided; check optional fields.
viewModel.accountHeader.menuItems[].id string Id value supplied for this context. For each existing item; optional child fields depend on item type.
viewModel.accountHeader.menuItems[].isSeparated boolean Whether separated applies; use for display only. For each existing item; optional child fields depend on item type.
viewModel.accountHeader.menuItems[].label string Label value supplied for this context. For each existing item; optional child fields depend on item type.
viewModel.accountHeader.menuItems[].method string Method value supplied for this context. For each existing item; optional child fields depend on item type.
viewModel.accountHeader.menuItems[].url string Prepared url URL; use unchanged. For each existing item; optional child fields depend on item type.
viewModel.accountHeader.url string Prepared url URL; use unchanged. When the parent is provided; check optional fields.