Back to Slint

README

examples/carousel/README.md

1.16.11.1 KB
Original Source

A custom carousel widget that can be controlled by touch, mouse and keyboard

The example can be run on desktop, wasm and mcu platforms

.slint DesignRust SourceC++ SourceNode SourceOnline wasm PreviewOpen in SlintPad
ui.slintmain.rsmain.cppmain.jsOnline simulationPreview in Online Code Editor

See the MCU backend Readme to see how to run the example on a smaller device like the Raspberry Pi Pico.

The example can run with the mcu simulator with the following command

cargo run -p carousel --no-default-features --features=simulator --release