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

    0.0.2 • 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>

    Keywords

    none

    Install

    npm i @mangoweb/share

    DownloadsWeekly Downloads

    17

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    6.59 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar