How to use the @deckdeckgo/charts/dist/loader.defineCustomElements function in @deckdeckgo/charts

To help you get started, we’ve selected a few @deckdeckgo/charts 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
deckDeckGoElements(window).then(async () => {
    await deckDeckGoChartsElements(window);
    await deckDeckGoQRCodeElements(window);
    await deckDeckGoHighlightCodeElements(window);
    await deckDeckGoLazyImgElements(window);
    await deckDeckGoSocialElements(window);

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

@deckdeckgo/charts

A collection of Web Components to easily draw charts

MIT
Latest version published 3 years ago

Package Health Score

51 / 100
Full package analysis

Popular @deckdeckgo/charts functions