[ type ] WindowEvent
Description:
Represents an event related to a Window and InternalWindow component. Used for handling window state changes
such as activation, minimization, maximization, hiding, showing, and closing.
Type: Object
Properties:
| Name | Type | Description |
|---|---|---|
|
The window component that triggered the event. |
|
|
string | The event type. One of: |
|
boolean | Indicates if the event was triggered by the user's interaction with the window. |
Examples:
Example of a WindowEvent object:
const e = {
target: myWindow,
type: "activate",
interactive: true
};
