Skip to content

atomicojs/wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@atomico/wrapper

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

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

class MyElement extends HTMLElement {}

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

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