@ewc-lib/ewc-footer-notes
Advanced tools
Comparing version 1.1.0-alpha to 1.1.1-alpha
{ | ||
"name": "@ewc-lib/ewc-footer-notes", | ||
"version": "1.1.0-alpha", | ||
"version": "1.1.1-alpha", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/main.mjs", |
@@ -11,7 +11,9 @@ # Screenshot | ||
- **note** - sets the text of the footnote (the first line). If text is omitted, line is omitted as well. | ||
- **url** - sets the URL for the link (2nd line). Opens link in the same tab. | ||
- **note** - sets the text of the footnote (the first line). | ||
- If text is omitted, line is omitted as well. | ||
- Can be changed during runtime. | ||
- **url** - sets the URL for the link (2nd line). | ||
- Opens link in the same tab. | ||
- Can be changed during runtime. | ||
Note: changing these attributes during runtime has no effect. | ||
# Usage with WebPack | ||
@@ -22,3 +24,3 @@ | ||
"dependencies": { | ||
"@ewc-lib/ewc-footer-notes": "1.1.0-alpha" | ||
"@ewc-lib/ewc-footer-notes": "latest" | ||
} | ||
@@ -47,2 +49,7 @@ | ||
</ewc-footer-notes> | ||
<script> | ||
document.getElementsByTagName("ewc-footer-notes")[0].setAttribute("note","Footnote and URL changed!") | ||
document.getElementsByTagName("ewc-footer-notes")[0].setAttribute("url","https://duckduckgo.com") | ||
</script> | ||
</body> | ||
@@ -49,0 +56,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
16252
44
59