4 ms·
The key difference is that intents are generic and resolved by the client based on the user's choice. So, instead of a "Share on Facebook" button, you would jus
by extension 15y ago
The key difference is that intents are generic and resolved by the client based on the user's choice. So, instead of a "Share on Facebook" button, you would just put a "Share" button on your site. When clicked, the browser can fulfill the action using any site it knows about that implements sharing. It somehow asks the user which site to use.