Skip to content

Commit f01fcd3

Browse files
committed
update readme
1 parent 3d566c1 commit f01fcd3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.MD

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ You can use the module like so, for a library loaded from example.com, which, wh
4747
</script>
4848
```
4949

50+
You can pass options for script tags.
51+
52+
```js
53+
<script>
54+
loader([
55+
{ type: 'script', url, options: { async: true, defer: true } } // these are the default options
56+
], test, callback)
57+
</script>
58+
```
59+
5060
#### Style Tags
5161

5262
You can include any number of tags, including style tags.

0 commit comments

Comments
 (0)