forked from jchomaz/Vulture
Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
22
VApp/node_modules/vuetify/lib/components/VDatePicker/util/eventHelpers.mjs
generated
vendored
Normal file
22
VApp/node_modules/vuetify/lib/components/VDatePicker/util/eventHelpers.mjs
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
// @ts-nocheck
|
||||
/* eslint-disable */
|
||||
|
||||
// import Vue from 'vue'
|
||||
|
||||
export function createItemTypeNativeListeners(instance, itemTypeSuffix, value) {
|
||||
return Object.keys(instance.$listeners).reduce((on, eventName) => {
|
||||
if (eventName.endsWith(itemTypeSuffix)) {
|
||||
on[eventName.slice(0, -itemTypeSuffix.length)] = event => instance.$emit(eventName, value, event);
|
||||
}
|
||||
return on;
|
||||
}, {});
|
||||
}
|
||||
export function createItemTypeListeners(instance, itemTypeSuffix) {
|
||||
return Object.keys(instance.$listeners).reduce((on, eventName) => {
|
||||
if (eventName.endsWith(itemTypeSuffix)) {
|
||||
on[eventName] = instance.$listeners[eventName];
|
||||
}
|
||||
return on;
|
||||
}, {});
|
||||
}
|
||||
//# sourceMappingURL=eventHelpers.mjs.map
|
||||
Reference in New Issue
Block a user