change snacker close delay to be a little longer than sound effect duration
This commit is contained in:
parent
8d76c55539
commit
21c9acb8f0
1 changed files with 7 additions and 6 deletions
|
@ -16,12 +16,12 @@ interface Options {
|
|||
* * `bottom-end`: Aligned to the bottom, right
|
||||
*/
|
||||
placement?:
|
||||
| "top"
|
||||
| "top-start"
|
||||
| "top-end"
|
||||
| "bottom"
|
||||
| "bottom-start"
|
||||
| "bottom-end";
|
||||
| "top"
|
||||
| "top-start"
|
||||
| "top-end"
|
||||
| "bottom"
|
||||
| "bottom-start"
|
||||
| "bottom-end";
|
||||
/**
|
||||
* The text for the action button.
|
||||
*/
|
||||
|
@ -94,6 +94,7 @@ export const snacker = (opts: Options) => {
|
|||
closeable: true,
|
||||
messageLine: 2,
|
||||
queue: "snacker",
|
||||
autoCloseDelay: 1600,
|
||||
onOpen: () => {
|
||||
new Audio("https://no.ipv4.army/raw/Popcorn.ogg").play();
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue