You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
436 B
26 lines
436 B
5 years ago
|
<template>
|
||
|
<v-card-text>
|
||
|
<v-switch
|
||
|
:class="element.width"
|
||
|
:label="element.label"
|
||
|
:hibt="element.hint"
|
||
|
:color="element.color"
|
||
|
:append-icon="element.append_icon"
|
||
|
:prepend-icon="element.prepend_icon"
|
||
|
v-model="values[element.slug]"
|
||
|
></v-switch>
|
||
|
</v-card-text>
|
||
|
</template>
|
||
|
<script>
|
||
|
export default {
|
||
|
props: {
|
||
|
element: {
|
||
|
type: Object
|
||
|
},
|
||
|
values: {
|
||
|
type: Object,
|
||
|
default: () => ({})
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
</script>
|