How to invoke native share sheet from website
This post explains the technique to open the native share sheet from a webpage via the share() method.
Today I’ve wondered if it is possible to invoke the native share sheet from a web application.
This would be especially useful to remove some share buttons from the web page as it clutters the page. If you want to “control” the format in which your e.g blog post is shared, you can implement a button which invokes the share()method.
For a MWE, you can consult the MDN documentation.
You Might Also Like
Stuff Worth Sharing #015
A carefully curated collection of fascinating discoveries, thought-provoking ideas, and hidden gems from around the web. This week featuring AI criticism, insights into Palantir, among other things.
Adding Code Previews To Astro
This are the steps I took to add code previews to my .mdx files in Astro.
Script For Recurring Chores in Home Assistant
This script creates tasks for your chores and sends notifications.