Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/javadbat/jb-notification

notification ui web-component
https://github.com/javadbat/jb-notification

Last synced: 7 days ago
JSON representation

notification ui web-component

Awesome Lists containing this project

README

        

# jb-notification
notification ui web component to show notification directly from pure js code without any framework

## set title & description
```js
document.querySelector('jb-notification').title = "Information Message";
document.querySelector('jb-notification').description = "optional detail about what happen you may not set it";
```
```html

```
## set notification type
```js
document.querySelector('jb-notification').type = "SUCCESS";
```
```html

```
## MessageTypes:

we have several types of message the types are : `SUCCESS`,`ERROR`,`WARNING`,`INFO`;