You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/ui/docs/README.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,6 +203,30 @@ my_checkbox = ui_checkbox()
203
203
204
204

205
205
206
+
## ActionGroup (string values)
207
+
An ActionGroup is a grouping of ActionButtons that are related to one another.
208
+
209
+
```python
210
+
@ui.component
211
+
defaction_group():
212
+
[action, on_action] = ui.use_state()
213
+
214
+
return ui.flex(
215
+
ui.action_group(
216
+
"Aaa",
217
+
"Bbb",
218
+
"Ccc",
219
+
action=action,
220
+
on_action=on_action,
221
+
),
222
+
ui.text(action),
223
+
direction="column",
224
+
)
225
+
226
+
227
+
ag = action_group()
228
+
```
229
+
206
230
## Picker (string values)
207
231
208
232
The `ui.picker` component can be used to select from a list of items. Here's a basic example for selecting from a list of string values and displaying the selected key in a text field.
0 commit comments