Skip to content
Snippets Groups Projects
Counters.md 455 B
Newer Older
# Example 3: Counters

Showcasing local and global state: The local state of the counter
components doesn't change when moved inside one grid, but is cleared when
moved to the other. The global state is in the `data` attribute
of each item and gets transferred as well. Both grids have also custom
highlights.

<ClientOnly>
<script setup>
import Example3Counters from "../../example/src/Example3Counters.vue";
</script>

<Example3Counters />
</ClientOnly>