emits declaration corrected

pull/625/head
Tuğçe Küçükoğlu 2020-11-04 10:24:49 +03:00
parent f5434c89a5
commit 3246553136
6 changed files with 6 additions and 4 deletions

View File

@ -38,7 +38,7 @@ import Ripple from '../ripple/Ripple';
export default {
inheritAttrs: false,
emits: ['update:modelValue', 'item-select', 'item-select', 'dropdown-click', 'clear', 'complete'],
emits: ['update:modelValue', 'item-select', 'item-unselect', 'dropdown-click', 'clear', 'complete'],
props: {
modelValue: null,
suggestions: {

View File

@ -58,7 +58,7 @@ import DomHandler from '../utils/DomHandler';
import Ripple from '../ripple/Ripple';
export default {
emits: ['update-page'],
emits: ['update:page'],
props: {
value: null,
page: {

View File

@ -37,7 +37,7 @@ import RowCheckbox from './RowCheckbox.vue';
import Ripple from '../ripple/Ripple';
export default {
emits: ['cell-edit-init', 'cell-edit-complete', 'cell-edit-cancel', 'row-edit-init', 'row-edit-complete', 'row-edit-cancel',
emits: ['cell-edit-init', 'cell-edit-complete', 'cell-edit-cancel', 'row-edit-init', 'row-edit-save', 'row-edit-cancel',
'row-toggle', 'radio-change', 'checkbox-change'],
props: {
rowData: {

View File

@ -17,7 +17,7 @@ import Button from '../button/Button';
export default {
inheritAttrs: false,
emits: ['start-slideshow', 'input'],
emits: ['update:modelValue', 'input'],
props: {
modelValue: {
type: Number,

View File

@ -18,6 +18,7 @@ import Ripple from '../ripple/Ripple';
export default {
inheritAttrs: false,
emits: ['click'],
props: {
item: null
},

View File

@ -29,6 +29,7 @@ import Ripple from '../ripple/Ripple';
export default {
name: 'sub-menu',
emits: ['keydown-item', 'leaf-click'],
props: {
model: {
type: Array,