Add-ons voor Firefox Browser
  • Extensies
  • Thema’s
    • voor Firefox
    • Woordenboeken en taalpakketten
    • Websites voor andere browsers
    • Add-ons voor Android
Aanmelden
Voorbeeld van Web Component DevTools

Web Component DevTools door Matsuuu

Developer tooling for Web Components and Web Component Libraries

5 (5 reviews)5 (5 reviews)
1.043 gebruikers1.043 gebruikers
U hebt Firefox nodig om deze extensie te gebruiken
Firefox downloaden en de extensie ontvangen
Bestand downloaden

Metagegevens van extensie

Schermafbeeldingen
Over deze extensie
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).
Met 5 gewaardeerd door 5 beoordelaars
Meld u aan om deze extensie te waarderen
Er zijn nog geen waarderingen

Sterrenwaardering opgeslagen

5
5
4
0
3
0
2
0
1
0
Alle 5 beoordelingen lezen
Toestemmingen en gegevensMeer info

Vereiste machtigingen:

  • Ontwikkelaarshulpmiddelen uitbreiden om uw gegevens in open tabbladen te benaderen
  • Browsertabbladen benaderen
  • Uw gegevens voor alle websites benaderen
Meer informatie
Add-on-koppelingen
  • Startpagina
  • Ondersteuningswebsite
  • E-mailadres voor ondersteuning
Versie
0.1.17
Grootte
1,77 MB
Laatst bijgewerkt
3 jaar geleden (20 jun. 2022)
Verwante categorieën
  • Webontwikkeling
  • Vormgeving
Licentie
MIT-licentie
Versiegeschiedenis
  • Alle versies bekijken
Toevoegen aan collectie
Deze add-on rapporteren
Meer extensies van Matsuuu
  • Er zijn nog geen waarderingen

  • Er zijn nog geen waarderingen

  • Er zijn nog geen waarderingen

  • Er zijn nog geen waarderingen

  • Er zijn nog geen waarderingen

  • Er zijn nog geen waarderingen

Naar Mozilla’s startpagina

Add-ons

  • Over
  • Firefox-add-onsblog
  • Extensieworkshop
  • Ontwikkelaarshub
  • Ontwikkelaarsbeleid
  • Gemeenschapsblog
  • Forum
  • Een bug melden
  • Beoordelingsrichtlijnen

Browsers

  • Desktop
  • Mobile
  • Enterprise

Producten

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Juridisch

Tenzij anders vermeld, is op de inhoud van deze website de Creative Commons Attribution Share-Alike License v3.0 of latere versie van toepassing.