🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@mangoweb/share

Package Overview
Dependencies
Maintainers
6
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mangoweb/share

Share url.

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
6
Created
Source

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>

FAQs

Package last updated on 12 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts