Skip to content

Can't work with the instance returned by VirtualSelect.init()? #149

Answered by sa-si-dev
mjesteve asked this question in Q&A
Discussion options

You must be logged in to vote

We can use instances to trigger any method.
Whenever we trigger any method with DOM element, internally it would get the instance from the DOM element and trigger the respective method.

When we call ele.setValue(), it would call instance.setValueMethod().

So check the relevant function and call with instance.

Replies: 2 comments 2 replies

Comment options

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

@sa-si-dev
Comment options

Answer selected by sa-si-dev
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
question Further information is requested
2 participants