Ready TOC and TOCController for indigo replacement
musangowope opened this issue · 2 comments
musangowope commented
- create custom event
itemRendered
that is emit with item data when la-toc-item is rendered - add sb story demoing
itemRendered
- Write basic test for
itemRendered
- update
item
prop ofla-toc-item
to possibly haveselected
it data shaped i.e.
{
title: "Lorem",
children: [],
selected: false
}
use selected
to conditionally append CSS class active
to of la-toc-item .content__action
longhotsummer commented
I think we can close this?
musangowope commented
yep