Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a dropdown selector for extra context parameter #168

Open
simesy opened this issue Oct 1, 2018 · 0 comments
Open

Add a dropdown selector for extra context parameter #168

simesy opened this issue Oct 1, 2018 · 0 comments

Comments

@simesy
Copy link

simesy commented Oct 1, 2018

Hope I'm asking in the right place, I've been looking at the patternlab setup for our drupal integration, but haven't really worked out where this should be done properly.

I want a drop down selector in the main menu (ie next to "Disco" or wherever). I want to populate this with some values.

When the user changes the value, I want to persist the value either as a $_GET in the url, or as a cookie.

The rest I can do easily enough with javascript (eg swap in a stylesheet based on that value) but any other tricks are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant