Skip to content
Discussion options

You must be logged in to vote

Hi @jan-tu-dresden, I think the problem is that the on_load parameter is itself a function that doesn't take any arguments. So if you want to use a function that does take arguments, I think you'll need to wrap it in an anonymous function like this:

on_load: function() {
  do_stuff("select");
}

Does that work for you?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jodeleeuw
Comment options

@becky-gilbert
Comment options

Answer selected by jan-tu-dresden
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants