belowaverage-org/webdows

Create onClose event for windows.

krisdb2009 opened this issue · 2 comments

This is necessary if a user presses the X button, and cleanup functionality is required.

Created one for context menus.
EDIT: Just kidding, an event is already fired on #desktop for this purpose.

Fixed by creating new window.on object with three events.
window.on.close
window.on.toggleMin
window.on.toggleMax