mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: build enhancement
This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user