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

How to set initial indicator when this color picker starts? #23

Open
fourmisz opened this issue May 20, 2015 · 1 comment
Open

How to set initial indicator when this color picker starts? #23

fourmisz opened this issue May 20, 2015 · 1 comment

Comments

@fourmisz
Copy link

I wanna know how to set indicator's position when it starts like this.

image

I know setHex function but it doesn't change indicator.

I definetely changed the color but it didn't changed. please help me how to change it or how to fix it.

@KSVQ
Copy link

KSVQ commented Oct 17, 2015

I have the same question

when I use the presented example

ColorPicker(
    document.getElementById('slider'), 
    document.getElementById('picker'), 
            function(hex, hsv, rgb, pickerCoordinate, sliderCoordinate) {

                    ColorPicker.positionIndicators(
                        document.getElementById('slider-indicator'),
                        document.getElementById('picker-indicator'),
                        sliderCoordinate, pickerCoordinate
                    );
            });

it throws error TypeError: this.slideElement is null

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

2 participants