973 B
973 B
Share Modal
Share Content Share Link <ShareModal
ref="shareContent"
share-title="This is the title for the content"
share-text="Share this content"
/>
<ShareModal
ref="shareLink"
share-title="This is the title for the link"
share-text="Share this link"
link
/>
You can use ref to open the modal, calling the show method
content is what will be shown in the text of the input for sharing
$refs.shareContent.show(content)