Skip to content

Commit

Permalink
updated readme and demo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsitek committed Mar 6, 2024
1 parent 23ee433 commit b97cb64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ window.CookieConsentSettings = {
},
enableDarkMode: true,
disableBadge: false,
disableCross: false,
disableHeader: false,
};
```
Expand All @@ -360,6 +361,7 @@ Here is the complete list of setting options:
| `tabAbout.showButtonRejectAll` | `boolean` | Enable reject all button in last tab. | `true` |
| `enableDarkMode` | `boolean` | Enable automatic switch to dark mode theme. | `false` |
| `disableBadge` | `boolean` | Disable badge button. | `false` |
| `disableCross` | `boolean` | Disable cross button in header. | `false` |
| `disableHeader` | `boolean` | Disable header. | `false` |

## API Methods
Expand Down
5 changes: 3 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
body {
margin: 0;
padding: 0;
}
}

.wrap {
margin: 0 auto;
Expand Down Expand Up @@ -181,7 +181,8 @@ <h2>How to use with GTM</h2>
},
enableDarkMode: true,
disableBadge: true,
disableHeader: true,
disableCross: true,
disableHeader: false,
};
</script>

Expand Down

0 comments on commit b97cb64

Please sign in to comment.