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]: Expand categories content by default

Striffly opened this issue · comments

Description

An interesting feature would be to make the description and services associated with categories visible by default (and not after clicking on the "expand" icon on the right of the category name).
This would allow the user to see all services and enable / disable them when the modal is shown, and not after expanding categories.

CookieConsent.showPreferences() can also take one parameter to expand only one category : this is interesting when you want the user to focus on a specific service (for example, before displaying Google Maps or Youtube video if CookieConsent.validConsent() is false).

Proposed solution

No response

Additional details

No response

Sorry, this won't be worked on; while I get your point, it also falls in my "unnecessary" category of features. I'd like to keep the plugin as clean and small as possible.