1.2.1 • Published 1 year ago

@devtools-ds/dom-inspector v1.2.1

Weekly downloads
19
License
MIT
Repository
github
Last release
1 year ago

@devtools-ds/dom-inspector

An emulation of the Chrome and Firefox DOM inspector, built on the @devtools-ds/tree component.

Installation

npm i @devtools-ds/dom-inspector
# or with yarn
yarn add @devtools-ds/dom-inspector

Usage

import { DOMInspector } from "@devtools-ds/dom-inspector";
const div = document.createElement("div");
const html = `
      <!--This is a comment-->
      <span>A span</span>
      <button type="submit" class="btn">Submit</button>
`;
div.insertAdjacentHTML("beforeend", html);

export const Custom = () => <DOMInspector data={div} expandLevel={2} />;

Useful References

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

1.2.1

1 year ago

1.2.0

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.1.2

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.133.0

3 years ago

0.132.3

3 years ago

0.132.2

3 years ago

0.132.1

3 years ago

0.132.0

3 years ago

0.131.0

3 years ago

0.130.5

3 years ago

0.130.4

3 years ago

0.130.3

3 years ago

0.130.2

3 years ago