Example usage:
<div x-mojo-element="Spinner" class='feedSpinner' name='feedSpinner'></div>
And in the scene assistant:
this.spinnerModel= {
value: false
};
this.controller.setupWidget('feedSpinner', this.spinnerModel);
To turn on the widget:
this.spinnerModel.value = true; this.controller.modelChanged(spinnerModel, this);