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

acessing styling of flickity elements through js #1283

Open
ins01-ship-it opened this issue Aug 15, 2023 · 0 comments
Open

acessing styling of flickity elements through js #1283

ins01-ship-it opened this issue Aug 15, 2023 · 0 comments

Comments

@ins01-ship-it
Copy link

Hello,

I have a problem Issue with accessing the styling, in my case, of the indicator dots, through js. I want the dots to be colored from an array (in my project it should be a dynamic array but for the reduced test case its static for now) my function works on elements with the same class name as the indicator dots that I've put in the html below the flickity carousel.

Here is the forked and changed codepen to illustrate my problem:
https://codepen.io/Insa-Deist/pen/jOXNOKM

I'm sorry if this is not the right place to ask for coding advice and thank you in advance for any tips!

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

No branches or pull requests

1 participant