mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
16 lines
580 B
Markdown
16 lines
580 B
Markdown
# Timer Example
|
|
|
|
[](https://examples.yew.rs/timer)
|
|
|
|
This is a technical demonstration for how to use timeouts and intervals.
|
|
|
|
## Concepts
|
|
|
|
The example mainly demonstrates the use of [`gloo_timer`](https://docs.rs/gloo-timers/ ) and
|
|
[`gloo_console_timer`](https://docs.rs/gloo-console/latest/gloo_console/struct.Timer.html) but also makes use of some
|
|
more advanced web console features.
|
|
|
|
## Improvements
|
|
|
|
- Apply the concept to something more fun than just a dry technical demonstration
|