VtmnCheckbox.vue from Decathlon/vitamin-web
<!--
Source: https://github.com/Decathlon/vitamin-web | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
Provided via justclaw.it.com; keep this notice with the code.
-->
<script lang="ts">
import '@vtmn/css-checkbox/dist/index-with-vars.css';
import { defineComponent, PropType, reactive } from 'vue';
export default /*#__PURE__*/ defineComponent({
name: 'VtmnCheckbox',
inheritAttrs: false,
props: {
modelValue: {
type: [String, Number, Boolean, Array] as PropType<
string | number | boolean | []
>,
default: '',
},
labelText: {
type: String as PropType<string>,
default: null,
},
identifier: {
type: String as PropType<string>,
required: true,
},
checked: {
t
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key