@ispsystem/isp-notice
v2.0.0
Published
isp-notice wrapper is a web component
Downloads
2
Readme
isp-notice
Компонен-обертка, позволяющий использовать механизм нотификаций основанный на WebSocket без основного приложения.
Использование
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" />
<title>Develop page</title>
<script type="module" src="/build/antivirus-card.esm.js"></script>
<script nomodule src="/build/antivirus-card.js"></script>
<script type="module" src="https://unpkg.com/@ispsystem/[email protected]/dist/isp-notice/isp-notice.esm.js"></script>
<script nomodule src="https://unpkg.com/@ispsystem/[email protected]/dist/isp-notice/isp-notice.js"></script>
</head>
<body>
<isp-notice paramDelay="100">
<antivirus-card site-id="1" plugin-id="9"></antivirus-card>
</isp-notice>
</body>
</html>