File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff 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
1638Create a button like this :
1739``` sh
1840< button onclick=" showToast.info({})" > info< /button>
1941```
2042
21- JS use :
43+ #### JS use :
2244
2345Call that function in js :
2446``` sh
You can’t perform that action at this time.
0 commit comments