Minor changes on spinner and full menu

This commit is contained in:
Nathan Byrd 2022-01-25 12:37:40 -06:00
parent 84adb9fe59
commit a624724904
2 changed files with 14 additions and 2 deletions

View File

@ -66,6 +66,12 @@ items: [
]
```
If the list is for display only (there is no form action associated with it) you can omit the data element, and include the items as a simple list:
```
["First item", "Second item", "Third Item"]
```
### Text Overflow
The `textOverflow` option is used to specify what happens when a text string is too long to fit in the `width` defined. Note, because columns are automatically calculated, this can only occur when the text is too long to fit the `width` using a single column.

View File

@ -3,7 +3,7 @@ layout: page
title: Spinner Menu View
---
## Spinner Menu View
A spinner menu view supports displaying a list of times on a screen as a list, with one item displayed at a time. This is generally used to pick one option from a list. Some examples could include selecting from a list of states, themes, etc.
A spinner menu view supports displaying a set of times on a screen as a list, with one item displayed at a time. This is generally used to pick one option from a list. Some examples could include selecting from a list of states, themes, etc.
## General Information
@ -46,7 +46,7 @@ This would select and submit the first item if `A` is typed, second if `B`, etc.
### Items
A full menu, similar to other menus, take a list of items to display in the menu. For example:
A spinner menu, similar to other menus, take a list of items to display in the menu. For example:
```
@ -62,6 +62,12 @@ items: [
]
```
If the list is for display only (there is no form action associated with it) you can omit the data element, and include the items as a simple list:
```
["First item", "Second item", "Third Item"]
```
## Example
![Example](../../assets/images/spinner_menu_view_example1.gif "Spinner menu")