Исправлено: при таймауте не выделенных уведомлений исчезает выделенное уведомление
This commit is contained in:
parent
07d4a45190
commit
00faa70ff0
3 changed files with 25 additions and 9 deletions
18
test/index.html
Normal file
18
test/index.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="https://code.jquery.com/jquery-3.7.0.min.js"></script>
|
||||
<script src="../noticer.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<button id="test">test</button>
|
||||
<script>
|
||||
noticer = new Noticer;
|
||||
$('#test').click(() => {
|
||||
noticer.success("This is success notice");
|
||||
noticer.warning("This is warning notice");
|
||||
noticer.error("This is error notice");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue