t</code> and
captures it in an external variable called <code>deferredPrompt</code>.</p>
<p>The next step comprises the design of our custom piece of UI, which will trigger the <code>prompt</code> install. We can benefit from the rich Framework7 interface and display
a <a href="https://framework7.io/docs/toast.html">toast</a> containing an install button. The initialization
is fairly simple, following the pattern <code>app.&lt;COMPONENT&gt;.create(parameters)</code>:</p>
<div class="sourceCode" id="cb937"><