Start work on sharing
This commit is contained in:
parent
e9faa09614
commit
cdf0c81c20
@ -15,6 +15,20 @@
|
||||
'osmand_direct'
|
||||
];
|
||||
|
||||
// const shareClicked = (url) => {
|
||||
// if (navigator.share) {
|
||||
// await navigator
|
||||
// .share({
|
||||
// title: 'WebShare API Demo',
|
||||
// url: url
|
||||
// })
|
||||
// .then(() => {
|
||||
// console.log('Thanks for sharing!');
|
||||
// })
|
||||
// .catch(console.error);
|
||||
// }
|
||||
// };
|
||||
|
||||
onMount(() => {
|
||||
// TODO: Indicate that the data is copied
|
||||
console.log('Got xpin: ', xpin);
|
||||
|
Loading…
Reference in New Issue
Block a user