xxxtoastr

2.0.1 • Public • Published

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');

Readme

Keywords

Package Sidebar

Install

npm i xxxtoastr

Weekly Downloads

0

Version

2.0.1

License

ISC

Unpacked Size

26.4 kB

Total Files

7

Last publish

Collaborators

  • tom.liu.xxx