function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Andrew Aldis 15Andrew Aldis 15 

Call a helper method after a tabs content has rendered

I am calling a method when a new tab is selected.  The method finds a canvas html element on the component but the method seems to be getting called before the HTML element is loaded.  Is there a way to delay calling the method until the canvas element is loaded?
Raj VakatiRaj Vakati
yes .. use window.setTimeOut 

or use onCanvasAppLoad method of  force:canvasApp COMPONENT

https://developer.salesforce.com/docs/component-library/bundle/force:canvasApp/specification