ContextType
Species the context in which a formatted value will be displayed.
Syntax
'middle-of-text' | 'begin-sentence' | 'standalone' | 'ui-list-or-menu'
Values
'middle-of-text'
- Default. String will appear in the middle of running text
'begin-sentence'
- String will appear at the beginning of a complete sentence
'standalone'
- Capitalization appropriate to an isolated user-interface element (e.g. an isolated name on a calendar page)
'ui-list-or-menu'
- Capitalization appropriate to a user-interface list or menu.