ui: build enhancement

This commit is contained in:
undefined committed 2022-02-13 23:25:11 +08:00
1 parent af994325b5
commit 773cc34b6e
7 files changed
+43 -7

No files matched your search

@@ -12,11 +12,13 @@ padding: 8px 0px; box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;" id="disconnect_no
const $el = $(notification);
$el.appendTo('body');
$el.hide();
function create() {
$el.show();
$el.animate({ bottom: 0 }, 100);
}
function remove() {
$el.animate({ bottom: -100 }, 100);
$el.animate({ bottom: -100 }, 100, () => $el.remove());
}
export default class Sock {