Skip to content

Commit

Permalink
updated cos
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-gx committed Nov 10, 2024
1 parent 40ddd06 commit f953863
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default defineNuxtConfig({
stealthMode: false, //default false
silentMode: false, //default false
language: 'YOUR_DEFAULT_LANGUAGE', //default null
useEuropeanCDN: true //default true - If the European CDN should be used
}
})
```
Expand Down
18 changes: 10 additions & 8 deletions docs/content/1.introduction/2.configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,21 @@ export default defineNuxtConfig({
stealthMode: false,
silentMode: false,
language: null,
resetTabIndex: false
resetTabIndex: false,
useEuropeanCDN: true
}
...
})
```

::

| **Key** | **Type** | **Default** | **Description** |
| ---------------------------- | ---------- | --------------------- | ---------------------------------------------------------------------------------------------------- |
| `apiKey` | `string` | null | The API Key for your Cookie First Banner |
| `stealthMode` | `boolean` | false | Deactivates the banner and only enables cookie rendering component
| `silentMode` | `boolean` | false | Deactivates all browser/console information |
| `language` | `string` | null | ISO-639-1 Lang code for the banner language. If no langauge is set, the browser language is used. |
| `resetTabIndex` | `boolean` | false | Resets the Tab Index of all banner elemments to zero (`tabindex=0` \| Default is `tabindex=1`) Useful if you need to get some more lighthouse accessibily score points.
| **Key** | **Type** | **Default** | **Description** |
| ---------------------------- | ---------- | --------------------- |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `apiKey` | `string` | null | The API Key for your Cookie First Banner |
| `stealthMode` | `boolean` | false | Deactivates the banner and only enables cookie rendering component
| `silentMode` | `boolean` | false | Deactivates all browser/console information |
| `language` | `string` | null | ISO-639-1 Lang code for the banner language. If no langauge is set, the browser language is used. |
| `resetTabIndex` | `boolean` | false | Resets the Tab Index of all banner elemments to zero (`tabindex=0` \| Default is `tabindex=1`) Useful if you need to get some more lighthouse accessibily score points.
| `useEuropeanCDN` | `boolean` | true | If the European CDN should be used. If set to false, the global CDN of CookieFirst is used. |

0 comments on commit f953863

Please sign in to comment.