Search completed in 2.73 seconds.
14 results for "onoffline":
WorkerGlobalScope.onoffline - Web APIs
the
onoffline property of the workerglobalscope interface represents an eventhandler to be called when the offline event occurs and bubbles through the worker.
... syntax self.
onoffline = function() { ...
... }; example the following code snippet shows an
onoffline handler set inside a worker: self.
onoffline = function() { console.log('your worker is now offline'); } specifications specification status comment html living standardthe definition of 'workerglobalscope.
onoffline' in that specification.
Document.onoffline - Web APIs
the document.
onoffline event handler is called when an offline is fired on the <body> element and bubbles up, when navigator.online property changes and becomes false.
HTMLBodyElement - Web APIs
windoweventhandlers.
onoffline is an eventhandler representing the code to be called when the offline event is raised.
... living standard technically, the event-related properties onafterprint, onbeforeprint, onbeforeunload, onblur, onerror, onfocus, onhashchange, onlanguagechange, onload, onmessage,
onoffline, ononline, onpopstate, onresize, onstorage, and onunload, have been moved to windoweventhandlers.
... the following properties have been added: onafterprint, onbeforeprint, onbeforeunload, onblur, onerror, onfocus, onhashchange, onload, onmessage,
onoffline, ononline, onpopstate, onresize, onstorage, and onunload.
Document.ononline - Web APIs
you can register listeners for these events in a few familiar ways: using addeventlistener on the window, document, or document.body by setting the .ononline or .
onoffline properties on document or document.body to a javascript function object.
... (note: using window.ononline or window.
onoffline will not work for compatibility reasons.) by specifying ononline="..." or
onoffline="..." attributes on the <body> tag in the html markup.
Index - Web APIs
943 document.
onoffline api, dom, needscontent, property, reference the document.
onoffline event handler is called when an offline is fired on the <body> element and bubbles up, when navigator.online property changes and becomes false.
... 5125 workerglobalscope.
onoffline api, property, reference, référence(2), web workers, workerglobalscope,
onoffline the
onoffline property of the workerglobalscope interface represents an eventhandler to be called when the offline event occurs and bubbles through the worker.
Online and offline events - Web APIs
you can register listeners for these events in a few familiar ways: using addeventlistener on the window, document, or document.body by setting the .ononline or .
onoffline properties on document or document.body to a javascript function object.
... (note: using window.ononline or window.
onoffline will not work for compatibility reasons.) by specifying ononline="..." or
onoffline="..." attributes on the <body> tag in the html markup.
Window - Web APIs
globaleventhandlers.onmouseover called when the pointer enters the window globaleventhandlers.onmouseup called when any mouse button is released windoweventhandlers.
onoffline called when network connection is lost.
... also available via the
onoffline property.
Navigator.onLine - Web APIs
you can see changes in the network state by listening for the events on window.ononline and window.
onoffline.
Window: offline event - Web APIs
bubbles no cancelable no interface event event handler property
onoffline examples // addeventlistener version window.addeventlistener('offline', (event) => { console.log("the network connection has been lost."); }); //
onoffline version window.
onoffline = (event) => { console.log("the network connection has been lost."); }; specifications specification status html living standardthe definition of 'offline event' in that specification.