PHP Classes

File: resources/js/components/DetailField.vue

Recommend this page to a friend!
  Classes of Naif Alshaye  >  Laravel Nova Toggle Switch  >  resources/js/components/DetailField.vue  >  Download  
File: resources/js/components/DetailField.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: 2 years ago
Size: 366 bytes


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

export default {
    props: ['resource', 'resourceName', 'resourceId', 'field'],
For more information send a message to info at phpclasses dot org.