How to use the from-html/lib/from-html function in from-html

To help you get started, we’ve selected a few from-html 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 larrybotha / testing-javascript / 07-use-dom-testing-library-to-test-any-js-framework / src / from-html.js View on Github external
constructor() {
    fromHtml(
      `
      <div>
        <button>
          0
        </button>
      </div>
      `,
      this,
      'refs'
    );
  }

from-html

[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) ![Coverage 100%](https://img.shields.io/badge/coverage-100%25-brightgreen.svg)

MIT
Latest version published 4 years ago

Package Health Score

53 / 100
Full package analysis

Popular from-html functions