mirror of https://github.com/linebender/xilem
![]() I'm doing all the work in a single commit so it's easier to rebase. Below is a list of the individual changes I did - Squash prev commits - Remove top-level action handler (use Adapt instead). - Type events in the same way as elements (could also do attributes the same) - Allow users to avoid compiling the typed html/attributes/events - Use more specific types for mouse events from web_sys - change "click" from PointerEvent to MouseEvent (PointerEvent caused a panic on `dyn_into().unwrap()`) |
||
---|---|---|
.. | ||
src | ||
web_examples | ||
.gitignore | ||
Cargo.toml | ||
README.md |
README.md
Xilemsvg prototype
This is a proof of concept showing how to use xilem_core
to render interactive vector graphics into SVG DOM nodes, running in a browser. A next step would be to factor it into a library so that applications can depend on it, but at the moment the test scene is baked in.
The easiest way to run it is to use Trunk. Run trunk serve
, then navigate the browser to the link provided (usually http://localhost:8080
).