mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-22 12:48:43 +03:00
Add some more info on difference between view and viewSelect
This commit is contained in:
parent
d4d5796151
commit
0233fbf682
@ -43,7 +43,7 @@ example =
|
||||
, Html.h3 [ css [ Css.marginBottom Css.zero ] ]
|
||||
[ Html.code [] [ Html.text "view" ] ]
|
||||
, Html.p [ css [ Css.marginTop (Css.px 1) ] ]
|
||||
[ Html.text "Use when you need a page control." ]
|
||||
[ Html.text "Use when you need a page control. This view is effectively a fancy Tab/Tabpanel pairing." ]
|
||||
, SegmentedControl.view
|
||||
{ onClick = SelectNav
|
||||
, options = buildOptions "Choice " options (List.range 1 options.count) coloredIcons
|
||||
@ -55,7 +55,7 @@ example =
|
||||
, Html.h3 [ css [ Css.marginBottom Css.zero ] ]
|
||||
[ Html.code [] [ Html.text "viewSelect" ] ]
|
||||
, Html.p [ css [ Css.marginTop (Css.px 1) ] ]
|
||||
[ Html.text "Use when you only need the ui element." ]
|
||||
[ Html.text "Use when you only need the ui element. This view is effectively a fancy Radio button." ]
|
||||
, SegmentedControl.viewSelect
|
||||
{ onClick = MaybeSelect
|
||||
, options = buildOptions "Source " options (List.range 1 options.count) plainIcons
|
||||
|
Loading…
Reference in New Issue
Block a user