Showing and hiding cards
Toggling card visibility programmatically in Skylight using adapter
ShowingAndHidingCardsRecipe.zip
3KB
Binary
Showing and Hiding Cards Recipe Application Bundle
The root view of the recipe consists of:
- a card that toggles the boolean
skylight.local.data.isVisible
when selected. - a card that is bound to an adapter that returns
null
ifskylight.local.data.isVisible
is falsy (which hides the card) or an object otherwise (which shows the card)
Last modified 2yr ago