PHP Classes

File: resources/js/field.js

Recommend this page to a friend!
  Classes of Naif Alshaye   Laravel Nova Toggle Field Switch   resources/js/field.js   Download  
File: resources/js/field.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Nova Toggle Field Switch
Output HTML for a Laravel Nova toggle switch field
Author: By
Last change:
Date: 1 year ago
Size: 353 bytes
 

Contents

Class file image Download
import IndexField from './components/IndexField' import DetailField from './components/DetailField' import FormField from './components/FormField' Nova.booting((app, store) => { app.component('index-toggle-switch-field', IndexField) app.component('detail-toggle-switch-field', DetailField) app.component('form-toggle-switch-field', FormField) })