yew/examples/nested_list
Kaede Hoshikawa 013440d36a
Remove use of ChildrenRenderer from nested_list (#3436)
* Remove ChildrenRenderer from nested_list.

* Remove undeed conversion.
2023-10-03 19:38:48 +09:00
..
2022-04-11 17:02:59 +05:00
2020-09-22 00:17:48 +02:00

Nested List Example

Demo

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 WeakComponentLink in main.rs.

Improvements

  • ListItem Component has a hide prop which is currently only used statically. It should be possible to make the hidden items visible by pressing a button.

Running

Run this application with the trunk development server:

trunk serve --open