Skylight Docs

Showing and hiding cards

Toggling card visibility programmatically in Skylight using adapter
Showing and Hiding Cards Recipe Application Bundle

What does this recipe include?

The root view of the recipe consists of:
  • a card that toggles the boolean when selected.
  • a card that is bound to an adapter that returns null if is falsy (which hides the card) or an object otherwise (which shows the card)