Files
newfreeplanet_OLD/src/components/CMyToggleList/CMyToggleList.vue

22 lines
477 B
Vue
Raw Normal View History

2021-09-16 21:08:02 +02:00
<template>
2021-10-03 16:11:29 +02:00
<div>
<div class="cltoggle" v-for="(rec, index) in myarrvalues" :key="index">
<q-toggle
v-if="rec.label"
v-model="rec.valbool"
:label="rec.label"
:color="tools.getColorByIndexBest(index)"
keep-color
@update:model-value="changeval">
</q-toggle>
2021-09-16 21:08:02 +02:00
</div>
2021-10-03 16:11:29 +02:00
</div>
2021-09-16 21:08:02 +02:00
</template>
<script lang="ts" src="./CMyToggleList.ts">
</script>
<style lang="scss" scoped>
2021-10-03 16:11:29 +02:00
@import './CMyToggleList.scss';
2021-09-16 21:08:02 +02:00
</style>