An open API service indexing awesome lists of open source software.

https://github.com/atomicojs/wrapper


https://github.com/atomicojs/wrapper

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# @atomico/wrapper

Captura el registro de los customElements para asi lograr optener su tagName

```js
import { getDefinition } from "@atomico/wrapper";

class MyElement extends HTMLElement {}

customElements.define("my-element", MyElement);

console.log(getDefinition(MyElement)); // ["my-element", undefined];
```