soloalert
Version:
A customizable lightweight Alert Library with Material UI and awesome features.
44 lines (29 loc) • 1 kB
Markdown
# SoloAlert
<img alt="soloAlert Logo" src="https://user-images.githubusercontent.com/72879799/127307597-f291e5b3-5efa-4b03-96cc-e7fd6e15d7d5.png" width="128px">
A customizable lightweight Alert Library with Material UI and awesome features.
view soloalert on npm : https://www.npmjs.com/soloalert
### Installation via npm
```bash
npm i soloalert
```
now you can directly use soloalert as a script in your project.
Example:
```javascript
<script src="/node_modules/soloalert/index.js"></script>
<script>
addEventListener('DOMContentLoaded', function () {
SoloAlert.alert({title: "Welcome!", body: "I am a SoloAlert"});
});
</script>
```
Advanced Examples can be found in the usage docs below
### Installating via CDN
CDN script:
```html
<script src="https://unpkg.com/soloalert"></script>
```
### Usage Docs:
The Usage Docs are Provided at the github page
#### https://arnav-kr.github.io/soloalert/
and
#### https://soloalert.js.org/