@mangoweb/share
v0.0.3
Published
Share url.
Downloads
6
Keywords
Readme
Share
The manGoweb Share component.
Installation
npm install @mangoweb/share @mangoweb/scripts-base
This is a @mangoweb/scripts-base
component.
Usage
In your template:
<button id="share-button" type="button">Share</button>
<script>
window.initComponents = (window.initComponents || []).push({
name: 'Share',
place: '#share-button',
props: {
// optional
title: 'Example web',
url: 'https://example.com',
fallbackClipboardNote: 'Url copied to clipboard.',
},
})
</script>