Check DOM changes before widget execution

0
Is there a way to check if the DOM has changed since load of the page? For example, I have a widget that connects a click event to a certain class during the "_setupEvents" function. However, if there are required fields and an "alert" class appears, I want to capture this via the "dojo.query" method and then stop execution of the widget. Is there a way to capture the click event of the class and check the DOM?
asked
1 answers
0

You should be able to use the data.subscribe() function in the Mendix clientside API to view if there are any changes and also validation alerts on a certain object and its attributes.

answered