File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ The HTML files in the "e2e" folder serve as demos, showcasing how the library ca
23
23
24
24
## Usage
25
25
26
- If you're using Node, you can install the library with npm:
26
+ It can be installed via npm:
27
27
28
28
``` shell
29
29
npm install scroll-padlock
@@ -35,7 +35,7 @@ import { setStyle } from "scroll-padlock";
35
35
setStyle ();
36
36
```
37
37
38
- If you prefer using ES modules in the browser, you can import the library as follows :
38
+ It can be imported as an ES module in the browser:
39
39
40
40
``` html
41
41
<script type =" importmap" >
@@ -53,7 +53,7 @@ If you prefer using ES modules in the browser, you can import the library as fol
53
53
</script >
54
54
```
55
55
56
- If you prefer to use the library globally, you can include the UMD version of the script:
56
+ It can be used globally by including the UMD version of the script:
57
57
58
58
``` html
59
59
<script src =" https://cdn.jsdelivr.net/npm/scroll-padlock@latest/dist/scroll-padlock.umd.min.js" ></script >
You can’t perform that action at this time.
0 commit comments