mirror of
https://github.com/yewstack/yew.git
synced 2026-01-25 16:43:15 +00:00
* add rustfmt.toml, use nightly in CI, update contributing docs * run `cargo +nightly fmt`
Nested List Example
This example shows a nested list and displays which item was last hovered.
Concepts
- Creating components which only accepts specific child elements
- Communicating with a component that isn't a parent. See
WeakComponentLinkin main.rs.
Improvements
ListItemComponent has ahideprop which is currently only used statically. It should be possible to make the hidden items visible by pressing a button.