We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9118d31 + 18243a5 commit 1ff0203Copy full SHA for 1ff0203
1 file changed
README.md
@@ -39,12 +39,22 @@ After that you need to paste the below code into the body of your html code.
39
```html
40
<script src="cookify.js"></script>
41
<script>
42
+ const cookify = new Cookify;
43
+
44
document.addEventListener("DOMContentLoaded", function(event) {
45
cookify.init();
46
});
47
</script>
48
```
49
50
+or
51
52
+```javscript
53
+const { Cookify } = require('cookify');
54
55
+window.top.cookify = new Cookify;
56
+```
57
58
## Configuration
59
You can customize Cookify by passing JSON data in the `cookify.init()`.
60
Following is described what data you can customize
0 commit comments