@include( $body, @$data ?: [] )
@if(!empty($footer))
@endif
{{--
# VIEW DATA
'id' => $id, // * MODAL ID
'title' => $title, // MODAL TITLE
'body' => $layout['target'], // VIEW TO LOAD IN BODY
'data' => $layout['data'], // BODY VIEW DATA
// FORM CONFIG FORMAT
jQuery(document).ready(function() {
// INIT FORM
{{ $id }}Modal.init({
setup: {
onShow: function(modal){
// ATTEMPTING TO SHOW
},
onShown: function(modal){
// FINISH SHOWING
},
onHidden: function(modal){
// FINISH HIDDING
},
onHide: function(modal){
// ATTEMPTING TO HIDDEN
}
}
});
});
--}}
@push('script')
@endpush