mirror of
https://github.com/mgerb/ps-launcher
synced 2026-01-11 11:02:47 +00:00
v0.0.2 - webview and other updates
This commit is contained in:
24
app/util/toast/toast.ts
Normal file
24
app/util/toast/toast.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import 'jquery';
|
||||
import toastr from 'toastr';
|
||||
import './toast.scss';
|
||||
|
||||
toastr.options = {
|
||||
closeButton: false,
|
||||
debug: false,
|
||||
newestOnTop: false,
|
||||
progressBar: false,
|
||||
positionClass: 'toast-bottom-right',
|
||||
preventDuplicates: true,
|
||||
showDuration: 300,
|
||||
hideDuration: 1000,
|
||||
timeOut: 5000,
|
||||
extendedTimeOut: 1000,
|
||||
showEasing: 'swing',
|
||||
hideEasing: 'linear',
|
||||
showMethod: 'fadeIn',
|
||||
hideMethod: 'fadeOut',
|
||||
tapToDismiss: false,
|
||||
};
|
||||
|
||||
export const toast = toastr;
|
||||
|
||||
Reference in New Issue
Block a user