Created button for triggering native share dialog, if available

This commit is contained in:
Ivan Golikov 2025-01-09 19:26:07 +01:00
parent d1f29825d3
commit 5ebbcdc54f
3 changed files with 36 additions and 1 deletions

View file

@ -11,6 +11,7 @@
<div class="form-container">
<textarea id="secretInput" placeholder="Psst... what's it?"></textarea>
<button id="shareButton">Share</button>
<button id="sendToButton">Send to...</button>
</div>
<div id="spinner" class="spinner hidden"></div>
</div>