orestbida / cookieconsent

:cookie: Simple cross-browser cookie-consent plugin written in vanilla js

Home Page:https://playground.cookieconsent.orestbida.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feat]: Accept all on the top-right when using `bar inline` layout

mrleblanc101 opened this issue · comments

Description

In v3, I notice we can do these 2 layouts:

Accept all on the botton right
Screenshot 2023-10-23 at 11 24 14 AM

Accept all on the top left
Screenshot 2023-10-23 at 11 24 11 AM

But not this 3rd option which seems the most logical to me:
Accept all on the top right
Screenshot 2023-10-23 at 11 25 58 AM

Proposed solution

Instead of swap_button: true in v2 or flipButtons: true in v3, maybe something like this buttonOrder: ['accept', 'reject', 'preferences'] so we can customize the order easily ?

Additional details

No response