This event handler is called when an offline is fired on body and bubbles up, when navigator.onLine property changes and becomes false.
Document.onoffline
See also
- Document Object Model
Document- Properties
Document.activeElementDocument.alinkColorDocument.anchorsDocument.appletsDocument.asyncDocument.bgColorDocument.bodyDocument.characterSetParentNode.childElementCountParentNode.childrenDocument.compatModeDocument.contentTypeDocument.currentScriptDocument.defaultViewDocument.designModeDocument.dirDocument.doctypeDocument.documentElementDocument.documentURIDocument.documentURIObjectDocument.domainDocument.domConfigDocument.embedsDocument.fgColorParentNode.firstElementChildDocument.formsDocument.headDocument.heightDocument.imagesDocument.implementationDocument.inputEncodingParentNode.lastElementChildDocument.lastModifiedDocument.lastStyleSheetSetDocument.linkColorDocument.linksDocument.locationDocument.mozFullScreenDocument.mozFullScreenElementDocument.mozFullScreenEnabledDocument.mozSyntheticDocumentGlobalEventHandlers.onabortDocument.onafterscriptexecuteDocument.onbeforescriptexecuteGlobalEventHandlers.onblurGlobalEventHandlers.onchangeGlobalEventHandlers.onclickGlobalEventHandlers.oncloseGlobalEventHandlers.oncontextmenuGlobalEventHandlers.ondblclickGlobalEventHandlers.onerrorGlobalEventHandlers.onfocusGlobalEventHandlers.oninputGlobalEventHandlers.onkeydownGlobalEventHandlers.onkeypressGlobalEventHandlers.onkeyupGlobalEventHandlers.onloadGlobalEventHandlers.onmousedownGlobalEventHandlers.onmousemoveGlobalEventHandlers.onmouseoutGlobalEventHandlers.onmouseoverGlobalEventHandlers.onmouseupDocument.onofflineDocument.ononlineGlobalEventHandlers.onresetGlobalEventHandlers.onresizeGlobalEventHandlers.onscrollGlobalEventHandlers.onselectGlobalEventHandlers.onsubmitDocument.originDocument.pluginsDocument.pointerLockElementDocument.popupNodeDocument.preferredStyleSheetSetDocument.readyStateDocument.referrerDocument.scriptsDocument.scrollingElementDocument.selectedStyleSheetSetDocument.styleSheetsDocument.styleSheetSetsDocument.titleDocument.tooltipNodeDocument.URLDocument.vlinkColorDocument.widthDocument.xmlEncodingDocument.xmlVersion
- Methods
Document.adoptNode()Document.caretPositionFromPoint()Document.caretRangeFromPoint()Document.clear()Document.close()Document.createAttribute()Document.createCDATASection()Document.createComment()Document.createDocumentFragment()Document.createElement()Document.createElementNS()Document.createEntityReference()Document.createEvent()Document.createExpression()Document.createNodeIterator()Document.createNSResolver()Document.createProcessingInstruction()Document.createRange()Document.createTextNode()Document.createTouch()Document.createTouchList()Document.createTreeWalker()Document.elementFromPoint()Document.enableStyleSheetsForSet()Document.evaluate()Document.execCommand()Document.exitPointerLock()Document.getBoxObjectFor()Document.getElementById()Document.getElementsByClassName()Document.getElementsByName()Document.getElementsByTagName()Document.getElementsByTagNameNS()Document.getSelection()Document.hasFocus()Document.importNode()Document.loadOverlay()Document.mozCancelFullScreen()Document.mozSetImageElement()Document.open()Document.queryCommandSupported()Document.querySelector()Document.querySelectorAll()Document.registerElement()Document.releaseCapture()Document.write()Document.writeln()
- Inheritance:
- Related pages for DOM
AttrByteStringCDATASectionCharacterDataChildNodeCommentCustomEventDOMConfigurationDOMErrorDOMErrorHandlerDOMExceptionDOMImplementationDOMImplementationListDOMImplementationRegistryDOMImplementationSourceDOMLocatorDOMObjectDOMParserDOMPointDOMRectDOMStringDOMTimeStampDOMTokenListDOMUserDataDocumentFragmentDocumentTypeElementElementTraversalEntityEntityReferenceEventEventTargetHTMLCollectionMutationObserverNodeNodeFilterNodeIteratorNodeListNonDocumentTypeChildNodeProcessingInstructionPromiseResolverRangeSelectionTextTextDecoderTextEncoderTimeRangesTreeWalkerTypeInfoUSVStringUserDataHandlerXMLDocument