Skip to content

Latest commit

 

History

History
 
 

nested_list

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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