Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
17
VApp/node_modules/vuetify/lib/composables/selectLink.mjs
generated
vendored
Normal file
17
VApp/node_modules/vuetify/lib/composables/selectLink.mjs
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
// Utilities
|
||||
import { nextTick, watch } from 'vue';
|
||||
|
||||
// Types
|
||||
|
||||
export function useSelectLink(link, select) {
|
||||
watch(() => link.isActive?.value, isActive => {
|
||||
if (link.isLink.value && isActive && select) {
|
||||
nextTick(() => {
|
||||
select(true);
|
||||
});
|
||||
}
|
||||
}, {
|
||||
immediate: true
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=selectLink.mjs.map
|
Reference in New Issue
Block a user