How do i use the __Stateful mixin?
Looking at document https://apidocs.mendix.com/7/client/mxui_mixin__Stateful.html How do i use that mixing. Is there quick example ?
Here's an example used in a widget. The first part is including it in your define function, then you need to carry that variable name into the declare function.
From there, you need to have a function in your widget called "storeState" like this, and you'll of course want to retrieve the state using "getState" like this.