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: 4 years ago
Size: 366 bytes


Class file image Download
<template> <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> </template> </panel-item> </template> <script> export default { props: ['resource', 'resourceName', 'resourceId', 'field'], } </script>