summaryrefslogtreecommitdiffstats
path: root/examples/slider/README.md
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-12-14 03:21:28 +0100
committerLibravatar GitHub <noreply@github.com>2022-12-14 03:21:28 +0100
commitc35ca2a3207ea24963eb87f4850bf3e3b38ca7d6 (patch)
tree9513cae51a673d4b8fea5c3bb98244c92be067bf /examples/slider/README.md
parentb01be6b9321d26c167362f4515d3c895a081ba58 (diff)
parent55f36bc865652009f1c13e3da6f62d55964a10c2 (diff)
downloadiced-c35ca2a3207ea24963eb87f4850bf3e3b38ca7d6.tar.gz
iced-c35ca2a3207ea24963eb87f4850bf3e3b38ca7d6.tar.bz2
iced-c35ca2a3207ea24963eb87f4850bf3e3b38ca7d6.zip
Merge pull request #1596 from casperstorm/feat/slider-orientation
Added a VerticalSlider widget.
Diffstat (limited to '')
-rw-r--r--examples/slider/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/slider/README.md b/examples/slider/README.md
new file mode 100644
index 00000000..829d8285
--- /dev/null
+++ b/examples/slider/README.md
@@ -0,0 +1,14 @@
+## Slider
+
+A `Slider` is a bar and a handle that selects a single value from a range of values.
+There exists both `Slider` and `VerticalSlider` depending on which orientation you need.
+
+<div align="center">
+ <img src="sliders.gif">
+</div>
+
+You can run it with `cargo run`:
+
+```
+cargo run --package slider
+```