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

21 lines
527 B
Vue
Raw Normal View History

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