Skip to content

Commit 5fb1cba

Browse files
authored
Update README.md
1 parent c19d4d9 commit 5fb1cba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,8 @@ declare const css: (files:string|string[]) => Promise<void>;
9191
<!-- Lazy load CSS by attaching the css attribute to any element within the documents body. -->
9292
<!-- You can load multiple files using a whitespace separator. The .css file extenstion is optional. -->
9393
<div class="my-awesome-class" css="awesome-transitions awesome.css"></div>
94-
```
94+
95+
<!-- By default Lazy Loader will attempt to load a file from the jsDir directory using the custom elements tag name. -->
96+
<!-- You can override the default behavior by providing a custom file name, relative path, or a URL. -->
97+
<custom-element web-component="custom-file-name.js"></custom-element>
98+
```

0 commit comments

Comments
 (0)