xxxtoastr
v2.0.1
Published
toastr vue test
Downloads
1
Readme
xxxtoastr
import {Toastr,useToastr} from 'xxxtoastr' /init/ const app = createApp(App); let toastr_unit = new Toastr({ "closeButton": false, "debug": false, "newestOnTop": false, "progressBar": true, "positionClass": "toastr-top-center", "preventDuplicates": false, "onclick": null, "showDuration": "300", "hideDuration": "1000", "timeOut": "3000", "extendedTimeOut": "1000", "showEasing": "swing", "hideEasing": "linear", "showMethod": "fadeIn", "hideMethod": "fadeOut" }) app.use(toastr_unit);
/use/ const toastr = useToastr(); toastr.info('test');