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

Refresh handle position when text input is changed via jquery #68

Open
enventa opened this issue Sep 5, 2018 · 0 comments
Open

Refresh handle position when text input is changed via jquery #68

enventa opened this issue Sep 5, 2018 · 0 comments

Comments

@enventa
Copy link

enventa commented Sep 5, 2018

Hi there!

I am using WP Customizer to allow users configure my plugin. There are two color settings I would like to "sync", so changing the color from "color 1" makes "color 2" setting have the same value.

To achieve a full "sync", it is needed to achieve 3 things: update input value, button color and handle position.

So far, I have been able to make "color 2" have the same value and "button color" than "color 1" (with jQuery)... but I'm not able to make the iris handle to position where it should be. See screenshot below.

Anyone could tell how to force the handle to update its position accordingly to the inputted value?

image

Many thanks in advance!

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