AnsweredAssumed Answered

Web AppBuilder

Question asked by centerlinemapping on Feb 4, 2016
Latest reply on Feb 4, 2016 by centerlinemapping



How is it possible to call a function when closing a widget in Web AppBuilder?  For example, when the user closes a custom widget, remove the tables from the widget so the next time the user opens the widget, the tables are cleared and removed.  Another example, when the user clicks "Ok" in the Splash widget, programmatically open the Layer List widget to display the layers of the web map.  The documentation online does not seem to work, nor does the onDestroy method within each widget.  Please let me know the appropriate way to complete this.