@parameter1/base-cms-marko-web-social-sharing

4.55.4 • Public • Published

BaseCMS Marko Web Social Sharing Components

Installation

  1. Include @parameter1/base-cms-marko-web-social-sharing as a project/website dependency.

  2. Include the Browser plugin.

// your-site/browser/index.js
import SocialSharing from '@parameter1/base-cms-marko-web-social-sharing/browser';

SocialSharing(Browser);
// ...

export default Browser;
  1. Include the default styles:
@import "@parameter1/base-cms-marko-web-social-sharing/scss/buttons";

Usage

Include the sharing component where you'd like the icons to appear:

<marko-web-social-sharing
  path=content.siteContext.path
  providers=["email", "facebook", "linkedin", "twitter", "pinterest", "print"]
/>

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @parameter1/base-cms-marko-web-social-sharing

    Weekly Downloads

    1,032

    Version

    4.55.4

    License

    MIT

    Unpacked Size

    20.3 kB

    Total Files

    20

    Last publish

    Collaborators

    • brandonbk
    • zarathustra323
    • solocommand