We needed a functionality to show user that particular button is turned on or off(on-click). In web app builder (as shown in attached images)we did this by removing/adding html class something like this,
html.removeClass(this.domNode, 'jimu-widget-FastSearchbutton1');
html.addClass(this.domNode, 'jimu-widget-FastSearchbutton');
Anyone knows whether this functionality is possible in experience builder from code in runtime? If so, documentation or sample code for the same would be really helpful.
Note: Using ArcGIS Experience builder developers edition 1.9 for development.