Add SliderWithCallback component (#938)

Add SliderOption::on_change.

Useful to observe a change to the value.

Signed-off-by: Mikołaj Lubiak <lubiak@proton.me>
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
Mikołaj Lubiak
2024-10-29 08:03:59 +01:00
committed by GitHub
parent 1d40687a40
commit 99df1ac8ba
4 changed files with 90 additions and 47 deletions

View File

@@ -39,6 +39,8 @@ current (development)
component in its parent. See #932
- Feature: Add `EntryState::index`. This allows to get the index of a menu entry.
See #932
- Feature: Add `SliderOption::on_change`. This allows to set a callback when the
slider value changes. See #938.
### Dom
- Feature: Add `hscroll_indicator`. It display an horizontal indicator