How to use the web-social-share/dist/loader.defineCustomElements function in web-social-share

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