Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to use sweetalert in laravel controller

@if (Session::has('sweet_alert.alert'))
<script>
  swal({!! Session::get('sweet_alert.alert') !!});
</script>
@endif
Source by github.com #
 
PREVIOUS NEXT
Tagged: #sweetalert #laravel #controller
ADD COMMENT
Topic
Name
2+2 =