Skip to content

Commit 9d11bff

Browse files
author
Marcos Cáceres
authored
feat: add AppBannerPromptOutcome enum (#519)
1 parent b7c0f15 commit 9d11bff

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

index.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,41 @@ <h2>
231231
instance, there are sufficient <a>installability signals</a> to warrant
232232
<a>installation</a> of the web application.
233233
</p>
234+
<section data-dfn-for="AppBannerPromptOutcome">
235+
<h4>
236+
<code>AppBannerPromptOutcome</code> enum
237+
</h4>
238+
<pre class="idl">
239+
enum AppBannerPromptOutcome {
240+
"accepted",
241+
"dismissed"
242+
};
243+
</pre>
244+
<p>
245+
The <dfn>AppBannerPromptOutcome</dfn> enum's values represent the
246+
outcomes from <a data-lt="presents an install prompt">presenting the
247+
end-user with an install prompt</a>.
248+
</p>
249+
<dl data-dfn-for="AppBannerPromptOutcome">
250+
<dt>
251+
<dfn>accepted</dfn>:
252+
</dt>
253+
<dd>
254+
The end-user indicated that they would like the user agent to
255+
<a>install</a> the web application.
256+
<p class="note">
257+
This does not necessarily mean that the <a>installation
258+
process</a> will <a data-lt="installation succeeded">succeed</a>.
259+
</p>
260+
</dd>
261+
<dt>
262+
<dfn>dismissed</dfn>:
263+
</dt>
264+
<dd>
265+
The end-user dismissed the install prompt.
266+
</dd>
267+
</dl>
268+
</section>
234269
<section>
235270
<h3>
236271
Authority of the manifest's metadata

0 commit comments

Comments
 (0)