Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AsadiAhmad authored Oct 6, 2024
1 parent c1c27d0 commit b220a33
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,38 @@ A PowerFull and beutifull Library for showing JS Notifications

### Step1 : Install Library from NPM or using CDN

#### Install the NPM Library :

you can install the npm package this command :

```sh
npm install [email protected]
```

then add this line into your HTML code :

```sh
<script src="./node_modules/notico/Package/notico.js" defer></script>
```

#### Using this CDN :

you can use this script line for using the CDN :

```sh
<script src="https://cdn.jsdelivr.net/npm/[email protected]/Package/notico.js" defer></script>
```

### Step2 : Use Function in HTML or JS Code

HTML use :
#### HTML use :

Create a button like this :
```sh
<button onclick="showToast.info({})">info</button>
```

JS use :
#### JS use :

Call that function in js :
```sh
Expand Down

0 comments on commit b220a33

Please sign in to comment.