Use of onupdated or dmx-on:updated for a Variable

I have a variable sc_aborted which I initially assign a value of 0.

If a server connect aborts, then I assign it the value 1.

When it changes to a 1, then I want to show a modal.

Should I used onupdated or dmx-on:updated on the variable definition to do this?

Or do they do the same thing?

Community Page
Last updated: