Skip to content

Commit ea8e61f

Browse files
committed
add __init__.py and fix references
1 parent 44eadb0 commit ea8e61f

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

sdk/python/examples/controls/slider/__init__.py

Whitespace-only changes.

sdk/python/packages/flet/docs/controls/slider.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ examples: ../../examples/controls/slider
44
example_images: ../test-images/examples/material/golden/macos/slider
55
---
66

7-
<!-- {{ class_summary(class_name) }} -->
87
{{ class_summary(class_name, example_images + "/image_for_docs.png", image_caption="Default and disabled sliders") }}
98

109
## Examples
@@ -17,7 +16,7 @@ example_images: ../test-images/examples/material/golden/macos/slider
1716
--8<-- "{{ examples }}/basic.py"
1817
```
1918

20-
{{ image(example_images + "/basic.gif", alt="basic", width="80%") }}
19+
{{ image(example_images + "/basic.png", alt="basic", width="80%") }}
2120

2221

2322
### Setting a custom label
@@ -26,7 +25,7 @@ example_images: ../test-images/examples/material/golden/macos/slider
2625
--8<-- "{{ examples }}/custom_label"
2726
```
2827

29-
{{ image(example_images + "/custom_label.gif", alt="custom-label", width="80%") }}
28+
{{ image(example_images + "/custom_label.png", alt="custom-label", width="80%") }}
3029

3130

3231
### Handling events
@@ -35,13 +34,8 @@ example_images: ../test-images/examples/material/golden/macos/slider
3534
--8<-- "{{ examples }}/handling_events.py"
3635
```
3736

38-
{{ image(example_images + "/handling_events.gif", alt="handling-events", width="80%") }}
37+
{{ image(example_images + "/handling_events.png", alt="handling-events", width="80%") }}
3938

4039

41-
### Random values
42-
43-
```python
44-
--8<-- "{{ examples }}/random_values.py"
45-
```
4640

4741
{{ class_members(class_name) }}

0 commit comments

Comments
 (0)