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

Parameter received by initialize callback is undefined #160

Open
raquelhortab opened this issue Jan 2, 2023 · 1 comment
Open

Parameter received by initialize callback is undefined #160

raquelhortab opened this issue Jan 2, 2023 · 1 comment

Comments

@raquelhortab
Copy link

Hi, I am trying to access the image picker once it has been initialized to add some custom elements but the parameter received by the initialized callback is undefined.

Here's part of my code:

$("select[name='gnerator_eyes']").imagepicker({
              initialized: function(e){
                  console.log(e);
              },
              changed:function(){
              //....

Everything else works just fine

@raquelhortab
Copy link
Author

it seems the imagepicker is actually received through this instead of the parameter

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