noticer/test/index.html

19 lines
535 B
HTML
Raw Permalink Normal View History

<!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>