Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
9
VApp/node_modules/vuetify/lib/util/events.mjs
generated
vendored
Normal file
9
VApp/node_modules/vuetify/lib/util/events.mjs
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
// Utilities
|
||||
import { isOn } from "./helpers.mjs";
|
||||
export function getPrefixedEventHandlers(attrs, suffix, getData) {
|
||||
return Object.keys(attrs).filter(key => isOn(key) && key.endsWith(suffix)).reduce((acc, key) => {
|
||||
acc[key.slice(0, -suffix.length)] = event => attrs[key](event, getData(event));
|
||||
return acc;
|
||||
}, {});
|
||||
}
|
||||
//# sourceMappingURL=events.mjs.map
|
Reference in New Issue
Block a user