Merge pull request #625 from tugcekucukoglu/components/emits
Errors on some emits definitionspull/682/head
commit
45c92424fc
|
@ -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: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -18,6 +18,7 @@ import Ripple from '../ripple/Ripple';
|
|||
|
||||
export default {
|
||||
inheritAttrs: false,
|
||||
emits: ['click'],
|
||||
props: {
|
||||
item: null
|
||||
},
|
||||
|
|
|
@ -29,6 +29,7 @@ import Ripple from '../ripple/Ripple';
|
|||
|
||||
export default {
|
||||
name: 'sub-menu',
|
||||
emits: ['keydown-item', 'leaf-click'],
|
||||
props: {
|
||||
model: {
|
||||
type: Array,
|
||||
|
|
Loading…
Reference in New Issue