Need a client action from OutsystemsUI to check an element is already rendered in DOM or not
177
Views
2
Comments
New
Service Studio

Most of the times we get this error like, if we are trying to access the html element before it got rendered in DOM.

It will be good if we get a client action to validate whether the passed ID is rendered in DOM or not.

Hi,

You could use the ReactJs  ComponentDidMount event.

See this article from my colleague Ozan Cali:

https://blog.product-league.com/bite-size-javascript-functions-for-outsystems-development-part-1-6f15715e0f80

Regards,

Daniel

Thanks Daniel. It is amazing!!