settings_applicationsEventTarget > settings_applicationsNode > settings_applicationsElement > settings_applicationsHTMLElement > settings_applicationsHTMLBodyElement
Event
HTMLBodyElement
HTMLBodyElement의 offline는 Event interface의 이벤트 타입이고 이벤트 리스너에서 사용된다.
offline
웹브라우저가 네트워크에 대한 액세스 권한을 잃고 Navigator.onLine 값이 false로 전환되면 발생한다.
Navigator.onLine
false
window.addEventListener("offline", function() {});