@mangoweb/share
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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>

Readme

Keywords

none

Package Sidebar

Install

npm i @mangoweb/share

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

6.59 kB

Total Files

9

Last publish

Collaborators

  • onset
  • mango-cli
  • jirkavebr
  • viliamkopecky
  • matejsimek
  • luchalupa