orestbida/cookieconsent

Add ability to show the consent modal

Closed this issue · 3 comments

Feature request

Add ability to show the consent modal.

Why

We're working on the 68publishers/cookie-consent#36 feature and atm there is no way how to show the consent modal just settings modal which could be confusing for some users.

Does adding a second parameter create_modal to the .show(<delay:number>, <create_modal:boolean>) method fix this?

If the second parameter is set to true => generate modal if it doesn't exist

Yeah, seems fine to me 😉 Could it be implemented before v3 since it is not a BC break?

Yes, I can release an early v3 beta (won't have breaking changes compared to the current v2.8). Since this is not a bug, a v2.8.1 would not be that appropriate.