Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Window.onappinstalled

이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!

The onappinstalled attribute of the Window object serves as an event handler for the appinstalled event, which is dispatched once the web application is successfully installed as a progressive web app. The event that is fired is a "simple event" that implements the Event interface. 

Syntax

window.onappinstalled = function(event) { ... };

Example

window.onappinstalled = function(ev) { 
  console.log('The application was installed.');
};

Specifications

Specification Status Comment
Web App Manifest
The definition of 'Window.onappinstalled' in that specification.
Working Draft Initial specification.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? 49 (49) [1] ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support ? ? 49.0 (49) [1] ? ? ? ?

[1] This feature is behind a feature preference setting. In about:config, set dom.manifest.onappinstall to true.

See also

문서 태그 및 공헌자

 이 페이지의 공헌자: marcoscaceres, fscholz, teoli
 최종 변경: marcoscaceres,