Window event tracking
Each window allows you to track events occurring with it (for example, its movement). Each event can have its own callback function. To do this, use the addEventListener
method, which is exactly the same as the components and has the following form:
Windows can track the following events:
data1
and data2
are the fields of the window
structure of the Event
union (for example, access to the data1 field looks like this: e->window.data1
).
Last updated