2017-07-09 3 views

Antwort

0

Voyager verwendet toastr Bibliothek, und es zu benutzen, einfach können Sie es als ein Ereignis ausgelöst folgende Weise mit:

Toastr::warning($message, $title = null, $options = []) - add a warning toast 
Toastr::error($message, $title = null, $options = []) - add an error toast 
Toastr::info($message, $title = null, $options = []) - add an info toast 
Toastr::success($message, $title = null, $options = []) - add a success toast 
Toastr::add($type: warning|error|info|success, $message, $title = null, $options = []) - add a toast 
Toastr::clear() - clear all current toasts 
Verwandte Themen