yew/examples/nested_list
2025-03-02 23:56:22 +09:00
..
2023-10-28 16:11:28 +05:00
2022-04-11 17:02:59 +05:00
2020-09-22 00:17:48 +02:00
2025-03-02 23:56:22 +09: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