Sha256: d57b87ab6a12d34924fff24b3f2b7ce2af6fb7d1f3c98fdaa9ac8fb4be0cebad

Contents?: true

Size: 591 Bytes

Versions: 12

Compression:

Stored size: 591 Bytes

Contents

<script setup lang="ts">
import { computed } from 'vue'

const emit = defineEmits(['update:checked'])

const props = defineProps<{
  checked: boolean
  value?: any
}>()

const proxyChecked = computed({
  get() {
    return props.checked
  },

  set(val) {
    emit('update:checked', val)
  },
})
</script>

<template>
  <input
    type="checkbox"
    :value="value"
    v-model="proxyChecked"
    class="rounded dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800"
  />
</template>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kaze-0.17.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.16.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.15.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.14.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.13.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.12.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.11.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.10.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.9.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.8.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.7.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue
kaze-0.6.0 stubs/inertia-vue-ts/app/javascript/Components/Checkbox.vue