You just need to attach a click event to the element that holds Selection 2
text, like
element.addEventListener('click', function(){
setTimeout(function(){
your_instance_name.render()
}, 50)
})
Let me know if it worked for you.
You just need to attach a click event to the element that holds Selection 2
text, like
element.addEventListener('click', function(){
setTimeout(function(){
your_instance_name.render()
}, 50)
})
Let me know if it worked for you.