You can’t guarantee when a widget or a component is loaded. However you can do the work in a component event like didInsertElement.
You can’t guarantee when a widget or a component is loaded. However you can do the work in a component event like didInsertElement.