How to use web-social-share - 3 common examples

To help you get started, we’ve selected a few web-social-share examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github elmsln / lrnwebcomponents / elements / haxcms-elements / lib / ui-components / active-item / site-share-widget.js View on Github external
const defineCustomElements = (win, options) => {
  return patchEsm().then(() => {
    bootstrapLazy(
      [
        [
          "web-social-share",
          [[1, "web-social-share", { show: [1028], share: [16] }]]
        ]
      ],
      options
    );
  });
};
class SiteShareWidget extends LitElement {
github elmsln / lrnwebcomponents / elements / haxcms-elements / lib / ui-components / active-item / site-share-widget.js View on Github external
return patchEsm().then(() => {
    bootstrapLazy(
      [
        [
          "web-social-share",
          [[1, "web-social-share", { show: [1028], share: [16] }]]
        ]
      ],
      options
    );
  });
};
github deckgo / deckdeckgo-starter / src / index.js View on Github external
promises.push(deckDeckGoSlideGifElements(window));
    promises.push(deckDeckGoSlideQRCodeElements(window));
    promises.push(deckDeckGoSlideBigImgElements(window));
    promises.push(deckDeckGoSlideVideoElements(window));
    promises.push(deckDeckGoSlidePollElements(window));

    await Promise.all(promises);

    await postLoading();
    await initActions();
    await initFullscreen();

    await postLoadingJumpTo();
    await initDeckHistoryWatch();

    await webSocialShareElements(window);

    deckDeckGoRemoteElements(window).then(async () => {
        await initRemote();
    });
});

web-social-share

A Web Component to share urls and text on social networks

MIT
Latest version published 9 months ago

Package Health Score

61 / 100
Full package analysis