mirror of
https://github.com/kevinnlsamuel/rainbowcroissant.git
synced 2025-12-06 10:06:01 +05:30
trying web share api
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
<script>
|
||||||
|
function share(){
|
||||||
|
const data = {
|
||||||
|
text: 'hello world',
|
||||||
|
}
|
||||||
|
navigator.share(data)
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This will be populated… sometime
|
This will be populated… sometime
|
||||||
</p>
|
</p>
|
||||||
@@ -8,3 +17,5 @@ This will be populated… sometime
|
|||||||
<td>N</td>
|
<td>N</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<button on:click={share}>Send mail</button>
|
||||||
Reference in New Issue
Block a user