This is probably a very simple question but can’t seem to find an answer for it… How can I trigger a refresh from Javascript? I know I can call methods with @this.call()
but I would like to just trigger a component refresh.
Trigger refresh from Javascript
You just need to trigger the render method.
1 Like
@this.call('render')
?
1 Like
I’m pretty sure that will work, I haven’t really used that syntax myself.
Another way that I know will work is to set up an event listener that targets the render method and fire it from javascript.
Calling render directly works.