Minor changes on spinner and full menu
This commit is contained in:
parent
84adb9fe59
commit
a624724904
|
@ -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
|
### 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.
|
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.
|
||||||
|
|
|
@ -3,7 +3,7 @@ layout: page
|
||||||
title: Spinner Menu View
|
title: Spinner Menu View
|
||||||
---
|
---
|
||||||
## 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
|
## General Information
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ This would select and submit the first item if `A` is typed, second if `B`, etc.
|
||||||
|
|
||||||
### Items
|
### 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
|
||||||
|
|
||||||
![Example](../../assets/images/spinner_menu_view_example1.gif "Spinner menu")
|
![Example](../../assets/images/spinner_menu_view_example1.gif "Spinner menu")
|
||||||
|
|
Loading…
Reference in New Issue