iced/examples/counter
2024-07-12 15:14:43 +02:00
..
src Introduce helper methods for alignment for all widgets 2024-07-12 15:14:43 +02:00
Cargo.toml Add webgl feature for web examples 2023-09-09 13:59:18 +02:00
index.html Add index.html to counter example 2022-02-09 17:50:12 +07:00
README.md Add instructions to run web examples 2023-09-09 14:11:40 +02:00

Counter

The classic counter example explained in the README.

The main file contains all the code of the example.

You can run it with cargo run:

cargo run --package counter

The web version can be run with trunk:

cd examples/counter
trunk serve