How to use the domponent/dist/domponent.es5.production.min.js.Init function in domponent

To help you get started, we’ve selected a few domponent 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 tamb / domponent / examples / site / src / benchmarks / domponent / index.js View on Github external
document.addEventListener("DOMContentLoaded", () => {
  const app = new Init({
    selector: document.getElementById("root"),
    components: {
      Wave
    }
  });
});

domponent

Build components with the HTML you already have.

MIT
Latest version published 3 years ago

Package Health Score

45 / 100
Full package analysis