PHP Classes

File: resources/js/components/IndexField.vue

Recommend this page to a friend!
  Classes of Naif Alshaye  >  Laravel Nova Toggle Switch  >  resources/js/components/IndexField.vue  >  Download  
File: resources/js/components/IndexField.vue
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Nova Toggle Switch
Provides a toggle control to use in Laravel Nova
Author: By
Last change:
Date: 8 months ago
Size: 222 bytes



Class file image Download
    <span class="dot_on" v-if="field.value === 1"></span>
    <span class="dot_off" v-else-if="field.value === 0"></span>

export default {
    props: ['resourceName', 'field'],