Closed wbinnssmith closed 7 years ago
This passes the item's index as well as its selected state to elementForItem callback to help construct meaningful elements.
index
selected
elementForItem
For example, passing the selected state can conditionally show contents without the need for a css selector on the parent element's selected class.
This passes the item's
index
as well as itsselected
state toelementForItem
callback to help construct meaningful elements.For example, passing the
selected
state can conditionally show contents without the need for a css selector on the parent element's selected class.