Skip to main content

afterHide

fires after a Button control is hidden

afterHide: (text: string, init: boolean) => void;

Parameters:

  • text: string - the current text label of the control
  • init: boolean - true, if the event is triggered on the button control initialization

Example

form.getItem("button").events.on("AfterHide", function(text, init) {    console.log("AfterHide", text, init);});

Change log:

added in v7.0