How to use the @deckdeckgo/slide-poll/dist/loader.defineCustomElements function in @deckdeckgo/slide-poll

To help you get started, we’ve selected a few @deckdeckgo/slide-poll 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
const promises = [];

    promises.push(deckDeckGoSlideTitleElements(window));
    promises.push(deckDeckGoSlideContentElements(window));
    promises.push(deckDeckGoSlideAuthorElements(window));
    promises.push(deckDeckGoSlideChartElements(window));
    promises.push(deckDeckGoSlideYoutubeElements(window));
    promises.push(deckDeckGoSlideSplitElements(window));
    promises.push(deckDeckGoSlideCodeElements(window));
    promises.push(deckDeckGoSlideCountdownElements(window));
    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();
    });
});

@deckdeckgo/slide-poll

Interact with your audience, add a live poll to your presentation

MIT
Latest version published 4 years ago

Package Health Score

45 / 100
Full package analysis

Popular @deckdeckgo/slide-poll functions