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.
27 lines
640 B
27 lines
640 B
6 years ago
|
<template>
|
||
|
<div class="WM-Checkbox c-toggle-hide RTL WM-Align-R">
|
||
|
<input type="checkbox" :id="ItemID" class="c-check">
|
||
|
<label :for="ItemID">
|
||
|
<span class="inc"></span>
|
||
|
<span class="check"></span>
|
||
|
<span class="box"></span> {{ ItemText }}
|
||
|
</label>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
props: {
|
||
|
ItemID: { default: "Checkbox" },
|
||
|
ItemText: { default: " مقدار پیش فرض " },
|
||
|
Color: { default: "Red" },
|
||
|
},
|
||
|
data: function () {
|
||
|
return {
|
||
|
IconClass: 'WMi-' + this.Icon,
|
||
|
}
|
||
|
},
|
||
|
};
|
||
|
|
||
|
</script>
|