From a62472490470b0fce43c2cba92abc44cce9e2f9c Mon Sep 17 00:00:00 2001 From: Nathan Byrd Date: Tue, 25 Jan 2022 12:37:40 -0600 Subject: [PATCH] Minor changes on spinner and full menu --- docs/art/views/full_menu_view.md | 6 ++++++ docs/art/views/spinner_menu_view.md | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/art/views/full_menu_view.md b/docs/art/views/full_menu_view.md index a513117e..55f9b4cc 100644 --- a/docs/art/views/full_menu_view.md +++ b/docs/art/views/full_menu_view.md @@ -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. diff --git a/docs/art/views/spinner_menu_view.md b/docs/art/views/spinner_menu_view.md index 81acb6ed..42c88e14 100644 --- a/docs/art/views/spinner_menu_view.md +++ b/docs/art/views/spinner_menu_view.md @@ -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")