ononline
The ononline event is triggered when the browser gains internet connectivity. It is the counterpart to the onoffline event.
ontoggle
The ontoggle event in HTML is triggered when a <details> element is opened or closed, allowing scripts to respond to changes in visibility.