# Element Info

[Web Components](..) ⟩ [Custom Elements]() ⟩

To get the information about custom elements, there are methods:

| method                                                                                                 | notes                                                                                                                  |
| ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- |
| [customElements.get(name)](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/get) | returns the **class** for a **custom element** with the given name                                                     |
| customElements.whenDefined(name)                                                                       | returns a **promise** that resolves (without value) when a **custom element** with the given name **becomes defined**. |
