Search completed in 0.99 seconds.
12 results for "ononline":
WorkerGlobalScope.ononline - Web APIs
WebAPIWorkerGlobalScopeononline
the ononline property of the workerglobalscope interface represents an eventhandler to be called when the online event occurs and bubbles through the worker.
... syntax self.ononline = function() { ...
... }; example the following code snippet shows an ononline handler set inside a worker: self.ononline = function() { console.log('your worker is now online'); } specifications specification status comment html living standardthe definition of 'workerglobalscope.ononline' in that specification.
Document.ononline - Web APIs
WebAPIDocumentononline
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.
HTMLBodyElement - Web APIs
WebAPIHTMLBodyElement
windoweventhandlers.ononline is an eventhandler representing the code to be called when the online 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.
Index - Web APIs
WebAPIIndex
944 document.ononline api, dom, document, property, reference the document.online event is fired on the <body> of each page when the browser switches between online and offline mode.
... 5126 workerglobalscope.ononline api, property, reference, référence(2), web workers, workerglobalscope, ononline the ononline property of the workerglobalscope interface represents an eventhandler to be called when the online event occurs and bubbles through the worker.
Online and offline events - Web APIs
WebAPINavigatorOnLineOnline and offline events
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
WebAPIWindow
windoweventhandlers.ononline called when network connection is established.
... also available via the ononline property.
HTMLFrameSetElement - Web APIs
WebAPIHTMLFrameSetElement
windoweventhandlers.ononline is an eventhandler representing the code to be called when the online event is raised.
Navigator.onLine - Web APIs
WebAPINavigatorOnLineonLine
you can see changes in the network state by listening for the events on window.ononline and window.onoffline.
Window: online event - Web APIs
WebAPIWindowonline event
bubbles no cancelable no interface event event handler property ononline examples // addeventlistener version window.addeventlistener('online', (event) => { console.log("you are now connected to the network."); }); // ononline version window.ononline = (event) => { console.log("you are now connected to the network."); }; specifications specification status html living standardthe definition of 'online event' in that specific...
WindowEventHandlers - Web APIs
WebAPIWindowEventHandlers
windoweventhandlers.ononline is an eventhandler representing the code to be called when the online event is raised.
WorkerGlobalScope - Web APIs
WebAPIWorkerGlobalScope
also available via the workerglobalscope.ononline property.
<body>: The Document Body element - HTML: Hypertext Markup Language
WebHTMLElementbody
ononline function to call when network communication has been restored.