1
0
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:
2017-10-25 23:16:55 -05:00
parent 96f9c4ca5d
commit f584a5a2f9
25 changed files with 418 additions and 51 deletions

1
app/util/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from './toast/toast';

View File

@@ -0,0 +1,3 @@
#toast-container > div {
box-shadow: none !important;
}

24
app/util/toast/toast.ts Normal file
View 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;