Extras do Firefox
  • Extensões
  • Temas
    • para o Firefox
    • Dicionários e pacotes de idiomas
    • Outros sites de navegadores
    • Extras para Android
Iniciar sessão
Pré-visualização de Web Component DevTools

Web Component DevTools por Matsuuu

Developer tooling for Web Components and Web Component Libraries

5 (5 reviews)5 (5 reviews)
1057 Users1057 Users
Irá necessitar do Firefox para utilizar esta extensão
Transferir o Firefox e obter a extensão
Transferir ficheiro

Metadados da extensão

Capturas de ecrã
Acerca desta extensão
Developer tooling for Web Components and Web Component Libraries
Web Component DevTools is aimed at all developers working with Web Components. The tooling provided creates a new Chrome Devtools panel, which allows a quick look at the custom elements on the current page, and enables modification of attributes and properties of said components.

Web Component DevTools utilizes the Custom Elements Manifest (https://github.com/webcomponents/custom-elements-manifest) to analyze the Web Components.


Features:

Web Component DevTools provides advanced features to the developer, straight from the browser's UI to, for example:

- Listing custom elements on the page, and accessible iframes inside the page
- Filtering custom elements on the list
- Inspecting and modifying the attributes of custom elements
- Inspecting and modifying the properties (even objects and arrays) of custom elements
- Observing dispatched events
- Calling functions of the custom element, and logging the return values


Why?

In the process of developing Web Components, wether it be with a library like Lit, or without any kind of library, there comes situtations in which you might want to have a bit more control over your components than what the regular browser devtools gives you.

You might for example want to:

Toggle the Attributes of the element
Toggle the Properties of the element
Monitor when events get dispatched from the element
Call functions
And when you're working with Web Components, Shadow DOM usually is present, making it fairly difficult to find the path to the element. And even if you got the path, having to write document.querySelector("my-selector-string > element-name").setAttribute("my-attr", "foo") every time you want to modify a value is quite cumbersome.

For this use case the Web Components DevTools were created: To enable the developer to easily modify the attributes, properties and therefore state of their element straight from the devtools window with the click of a button.




Issues:

Any issues you run into while using the DevTools should be submitted to the GitHub Repository (https://github.com/Matsuuu/web-component-devtools/issues).
Rated 5 by 5 reviewers
Iniciar sessão para avaliar esta extensão
Não existem avaliações ainda

Avaliação de estrelas guardada

5
5
4
0
3
0
2
0
1
0
Ler todas as 5 análises
Permissions and dataSaber mais

Permissões necessárias:

  • Estender as ferramentas de programador para aceder aos seus dados em separadores abertos
  • Aceder aos separadores do navegador
  • Aceder aos seus dados para todos os sites
Mais informação
Ligações do extra
  • Página inicial
  • Site de apoio
  • Email de apoio
Versão
0.1.17
Tamanho
1,77 MB
Última atualização
há 3 anos (20 de jun de 2022)
Categorias relacionadas
  • Desenvolvimento da web
  • Aspeto
Licença
MIT License
Histórico de versões
  • Ver todas as versões
Adicionar à coleção
Reportar este extra
Mais extensões por Matsuuu
  • Não existem avaliações ainda

  • Não existem avaliações ainda

  • Não existem avaliações ainda

  • Não existem avaliações ainda

  • Não existem avaliações ainda

  • Não existem avaliações ainda

Ir para a página inicial da Mozilla

Extras

  • Acerca
  • Blogue de extras do Firefox
  • Workshop de extensões
  • Central do programador
  • Políticas de programador
  • Blogue da comunidade
  • Fórum
  • Reportar um erro
  • Guia de análise

Navegadores

  • Desktop
  • Mobile
  • Enterprise

Produtos

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacidade
  • Cookies
  • Informação legal

Exceto onde anotado o contrário, o conteúdo neste site está licenciado sob a licença Creative Commons Atribuição-CompartilhaIgual v3.0 ou qualquer versão mais recente.