Skip to main content

afterShow

fires after a window is shown

afterShow: (position: IPosition) => void;

Parameters:

position: object - an object with coordinates of the window's position

Example

dhxWindow.events.on("afterShow", function(position){    console.log("A window is shown");});

Related sample: Window. Events

The position parameter contains two attributes:

  • left - (number) the left coordinate of the window's position (in pixels)
  • top - (number) the top coordinate of the window's position (in pixels)

Change log:

The position parameter has been added in v7.0.