Skip to main content

afterShow

fires after a window is shown

afterShow: (position: object) => void;

Parameters:

  • position: object - an object with coordinates of the window's position. The 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)

Example

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

Related sample: Window. Events

Change log:

The position parameter has been added in v7.0.