Skip to content

Commit b220a33

Browse files
authored
Update README.md
1 parent c1c27d0 commit b220a33

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,38 @@ A PowerFull and beutifull Library for showing JS Notifications
99

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

12+
#### Install the NPM Library :
13+
14+
you can install the npm package this command :
15+
16+
```sh
17+
npm install notico@1.0.2
18+
```
19+
20+
then add this line into your HTML code :
21+
22+
```sh
23+
<script src="./node_modules/notico/Package/notico.js" defer></script>
24+
```
25+
26+
#### Using this CDN :
27+
28+
you can use this script line for using the CDN :
29+
30+
```sh
31+
<script src="https://cdn.jsdelivr.net/npm/notico@1.0.2/Package/notico.js" defer></script>
32+
```
33+
1234
### Step2 : Use Function in HTML or JS Code
1335

14-
HTML use :
36+
#### HTML use :
1537

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

21-
JS use :
43+
#### JS use :
2244

2345
Call that function in js :
2446
```sh

0 commit comments

Comments
 (0)