Migrate docs shell samples to asciinema
- Update antora settings - Move cast files and remove old ones - Switch shell svg's to asciinema - Fixes #884
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[[using-shell-components-ui-multiselect]]
|
||||
= Multi Select
|
||||
|
||||
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
|
||||
ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]
|
||||
|
||||
The multi select component asks a user to select multiple items from a list.
|
||||
The following listing shows an example:
|
||||
@@ -11,9 +11,12 @@ The following listing shows an example:
|
||||
include::{snippets}/UiComponentSnippets.java[tag=snippet7]
|
||||
----
|
||||
|
||||
The following image shows a typical multi-select component:
|
||||
The following screencast shows a typical multi-select component:
|
||||
|
||||
image::component-multi-select-1.svg[text input]
|
||||
[asciinema,rows=9]
|
||||
----
|
||||
include::example$component-multi-select-1.cast[]
|
||||
----
|
||||
|
||||
The context object is `MultiItemSelectorContext`. The following table describes its context variables:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user