mirror of
https://github.com/mgerb/ps-launcher
synced 2026-01-11 02:52:49 +00:00
v0.0.2 - webview and other updates
This commit is contained in:
1
app/util/index.ts
Normal file
1
app/util/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './toast/toast';
|
||||
3
app/util/toast/toast.scss
Normal file
3
app/util/toast/toast.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
#toast-container > div {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
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