// GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) // Source: Web Install (https://wicg.github.io/install-element/) partial interface Navigator { Promise install(); Promise 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"; };