/
githubmirror
/
vuetify
Обзор
Документация
Войти
/
githubmirror
/
vuetify
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/docs/src/examples/v-mutate/usage.vue
27 строк
430 B
MajesticPotatoe
docs: replace docs with docs-next
01 сен 2020, 16:07
01 сен 2020, 16:07
c8bd4bd
Код
Авторство
О чём код?
<template> <div> <v-text-field v-model="content" label="Content" ></v-text-field> <v-sheet v-mutate="onMutate"> {{ content }} </v-sheet> Total mutations: {{ mutations }} </div> </template> <script> export default { data: () => ({ mutations: 0, content: 'Hello, world!', }), methods: { onMutate () { this.mutations++ }, }, } </script>