Repository navigation
Commit 854af01
InputActivity/SettingActivity: document the optional selected_callback key
Companion to MicroPythonOS/MicroPythonOS#298: `selected_callback(value)`
fires on every radiobuttons/dropdown pick before Save (re-tapping the
active radio fires again) so pickers can preview a choice live, e.g. play
a sound. `changed_callback` semantics are unchanged.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 7f294b9 commit 854af01
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments