File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ html:not(:has(.bm-hide))::after {
129129
130130## Globals
131131- ` biscuitman ` – configuration object, must be ` window.biscuitman `
132- - ` Consent ` – object for accessing consents (add ` global ` config property to override )
132+ - ` Consent ` – object for accessing consents (override: ` global ` in ` window.biscuitman ` )
133133 ```
134134 {
135135 "consentTime": 1717846660979,
@@ -140,16 +140,16 @@ html:not(:has(.bm-hide))::after {
140140 "uncategorized": false
141141 }
142142 ```
143- - example usage: `if (Consent && Consent .analytics) { doAnalyticsThing() }`
143+ - example usage: `if (Consent.analytics) { doAnalyticsThing() }`
144144- ` bmInvalidate() ` – Delete stored consent data and reinstate UI
145145- ` bmOpen() ` – Opens My Consent Settings modal
146146 - example usage: `<a href="javascript:bmOpen();"> Update my consent settings</a>`
147147
148148## CSS
149149
150- - `biscuitman` class is used for the main UI
151- - consents are added to `<html>` with the convention of `bm-{sectionName}` for granted and `bm-no-{sectionName}` for ungranted
152- - `bm-hide` is used on the UI container
150+ - ` biscuitman ` class is used for the main UI
151+ - consents are added to ` <html> ` with the convention of ` bm-{sectionName} ` for granted and ` bm-no-{sectionName} ` for ungranted
152+ - ` bm-hide ` is used on the UI container
153153
154154## Events
155155
You can’t perform that action at this time.
0 commit comments