Merge pull request #625 from tugcekucukoglu/components/emits

Errors on some emits definitions
pull/682/head
Cagatay Civici 2020-11-25 18:03:58 +03:00 committed by GitHub
commit 45c92424fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 4 deletions

View File

@ -38,7 +38,7 @@ import Ripple from '../ripple/Ripple';
export default { export default {
inheritAttrs: false, 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: { props: {
modelValue: null, modelValue: null,
suggestions: { suggestions: {

View File

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

View File

@ -37,7 +37,7 @@ import RowCheckbox from './RowCheckbox.vue';
import Ripple from '../ripple/Ripple'; import Ripple from '../ripple/Ripple';
export default { 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'], 'row-toggle', 'radio-change', 'checkbox-change'],
props: { props: {
rowData: { rowData: {

View File

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

View File

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

View File

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