Working with local data

Retrieving, updating, binding, and resetting local data

What does this recipe include?

This recipe includes the following cards in the root view:

  • A card that, when selected, will retrieve and update the count and items properties in skylight.local.data

  • A card that, when selected, resets values in skylight.local.data

  • A card that is bound to the value in skylight.local.data.count

  • A card that is bound to the skylight.local.data.items array

For more information about local data, see Data Management.

The names of the properties used in this recipe (count and items) are arbitrary.