- Cataloghi: parte finale... prima bozza 9 dic

This commit is contained in:
Surya Paolo
2024-12-09 12:32:19 +01:00
parent 5c20e75b6a
commit 29c59588c7
33 changed files with 1009 additions and 397 deletions

View File

@@ -3,7 +3,7 @@ import {
defineComponent, onMounted, PropType, ref, toRef, watch, nextTick,
} from 'vue'
import { ICoordGPS, IMyCard, IMyElem, IMyPage, IOperators, ISocial } from '@src/model'
import { ICatalogo, ICoordGPS, IMyCard, IMyElem, IMyPage, IOperators, ISocial } from '@src/model'
import { useGlobalStore } from '@store/globalStore'
import { CImgTitle } from '../CImgTitle/index'
@@ -283,6 +283,11 @@ export default defineComponent({
return `col-${width}`
}
function updateCatalogoEmit(updatedCatalogo: ICatalogo) {
console.log('CMyElem: updateCatalogoEmit')
myel.value.catalogo = updatedCatalogo
}
onMounted(mounted)
return {
@@ -324,6 +329,7 @@ export default defineComponent({
cardGroups,
currentCardsPerSlide,
animarecard,
updateCatalogoEmit,
}
},