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: druid/examples/readme.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ This example shows how to make a simple animation using `Event::AnimFrame`.
15
15
```
16
16
cargo run --example async_event
17
17
```
18
-
Demonstrates receiving data from some outside source, and updating the UI in response. This is similar to [blocking function](#Blocking Function) but here the data source is fully independent, and runs for the lifetime of the program.
18
+
Demonstrates receiving data from some outside source, and updating the UI in response. This is similar to [blocking function](#blocking-function) but here the data source is fully independent, and runs for the lifetime of the program.
19
19
20
20
## Blocking Function
21
21
```
@@ -24,7 +24,7 @@ cargo run --example blocking_function
24
24
Sometimes you need to fetch some data from disk or from the internet,
25
25
but you should never block the UI thread with long running operations!
26
26
Instead you should run this task in a separate thread, and have it send
27
-
you the data as it arrives. This is very similar to [async event](#Async Event)
27
+
you the data as it arrives. This is very similar to [async event](#async-event)
28
28
except the event is initiated by the main thread.
29
29
30
30
## Cursor
@@ -60,7 +60,7 @@ For more info and prerequistes see [druid/examples/hello_web/README.md](druid/ex
[View at http://localhost:8000](http://localhost:8000].
63
+
[View at http://localhost:8000](http://localhost:8000).
64
64
65
65
This is an example of how to get almost any druid application can be used on the web. This is just the hello_world example but should work for all of them.
66
66
@@ -70,7 +70,7 @@ For more info and prerequistes see [druid/examples/web/README.md](druid/examples
70
70
cd druid/examples/web
71
71
wasm-pack build --out-dir pkg --out-name web
72
72
```
73
-
[View at http://localhost:8000](http://localhost:8000].
73
+
[View at http://localhost:8000](http://localhost:8000).
0 commit comments