Skip to content

Commit

Permalink
Merge pull request #119 from orestbida/v2.7
Browse files Browse the repository at this point in the history
v2.7.0-rc1
  • Loading branch information
orestbida authored Nov 23, 2021
2 parents 3958233 + 8f95769 commit 29b9782
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 39 deletions.
10 changes: 7 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A __lightweight__ & __gdpr compliant__ cookie consent plugin written in plain ja
1. [Key features](#key-features)
2. [Installation & Usage](#installation--usage)
4. [Layout options & customization](#layout-options--customization)
5. [APIs & config. parameters](#api--configuration-parameters)
5. [API & config. parameters](#api--configuration-parameters)
6. [Manage third party scripts](#manage-third-party-scripts)
7. [Configuration examples](#full-example-configurations)
8. [How to enable/manage revisions](#how-to-enablemanage-revisions)
Expand Down Expand Up @@ -336,7 +336,7 @@ cookieconsent.run({
consent_modal: {
layout: 'cloud', // box/cloud/bar
position: 'bottom center', // bottom/middle/top + left/right/center
transition: 'slide' // zoom/slide
transition: 'slide' // zoom/slide
},
settings_modal: {
layout: 'box', // box/bar
Expand All @@ -349,6 +349,10 @@ cookieconsent.run({
```
<i>Default layout is `box` and default transition is `zoom`.</i>

#### Note: if `force_consent` option is not enabled, the `middle` position will be ignored

<br>

## Manage third party scripts
You can easily manage third party scripts (enable/disable based on user's preferences) via the `page_scripts` option:
Expand Down Expand Up @@ -1064,4 +1068,4 @@ Note:
</details>
## License
Distributed under the MIT License. See [LICENSE](https://github.com/orestbida/cookieconsent/blob/master/LICENSE) for more information.
Distributed under the MIT License. See [LICENSE](https://github.com/orestbida/cookieconsent/blob/master/LICENSE) for more information.
Loading

0 comments on commit 29b9782

Please sign in to comment.