Skip to content

Commit

Permalink
docs(VList): fix opening last example in playground (#20631)
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Sek authored Oct 29, 2024
1 parent 64a52d4 commit 868b0ab
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions packages/docs/src/examples/v-list/misc-actions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
</template>

<script setup>
import { ref } from 'vue'
const userControls = [
{ title: 'Content filtering', subtitle: 'Set the content filtering level to restrict appts that can be downloaded' },
{ title: 'Password', subtitle: 'Require password for purchase or use password to restrict purchase' },
Expand All @@ -56,3 +58,22 @@
const settingsSelection = ref([])
</script>

<script>
export default {
data: () => ({
userControls: [
{ title: 'Content filtering', subtitle: 'Set the content filtering level to restrict appts that can be downloaded' },
{ title: 'Password', subtitle: 'Require password for purchase or use password to restrict purchase' },
],
settingsItems: [
{ value: 'notifications', title: 'Notifications', subtitle: 'Notify me about updates to apps or games that I downloaded' },
{ value: 'sound', title: 'Sound', subtitle: 'Auto-update apps at any time. Data charges may apply' },
{ value: 'widgets', title: 'Auto-add widgets', subtitle: 'Automatically add home screen widgets when downloads complete' },
],
settingsSelection: [],
}),
}
</script>

0 comments on commit 868b0ab

Please sign in to comment.