Source code
Revision control
Copy as Markdown
Other Tools
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
partial interface Navigator {
Promise<WebInstallResult> install();
Promise<WebInstallResult> install(InstallParams options);
};
dictionary InstallParams {
required USVString manifest;
USVString? manifestId;
};
dictionary WebInstallResult {};
[Exposed=Window]
interface HTMLInstallElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions] attribute USVString? manifest;
[CEReactions] attribute USVString? manifestId;
attribute EventHandler oninstallresult;
};
HTMLInstallElement includes ActivationBlockersMixin;
enum InstallResult {
"success",
"aborted",
"invalid_data"
};
[Exposed=Window]
interface InstallResultEvent : Event {
constructor(DOMString type,
optional InstallResultEventInit eventInitDict = {});
readonly attribute InstallResult result;
};
dictionary InstallResultEventInit : EventInit {
InstallResult result = "aborted";
};