Inspect Lit or Polymer webcomponents 'through a prism'. View and modify component properties on the fly through Chrome DevTools.
Lit Prism Extension
Open the developer tools (F12) and select the Lit Prism sidepane from within the Elements panel. Select an HTML element from the Elements panel in order to view its properties. Currently supported webcomponents are LitElement and PolymerElement components.
The list of properties will refresh automatically whenever a property or a subproperty value changes, and the sidepane will keep the current scroll position.
Due to a developer tools limitation the expanded values cannot be re-expanded after updating the property list. In such cases, it might be useful to toggle the \"Automatically refresh property list' switch to 'disabled'.
No data is or will be collected.
Changelog:
v1.2.0 Added support for other types of webcomponents as well, especially for Lit V2 elements. Increased auto refresh interval to 1 second. Grouping webcomponent methods into _FUNCTIONS.
v1.1.1 Minor tweak, added the Lit Message also to arrays, as a first entry, in case it was an array, instead of an object, which contained a circular reference.
v1.1.0 Fixed issue regarding high resource consumption, due to the long process of depth-limited stringification process. Components whose integral list of properties can easily be stringified are returned instantly. For components which contain properties with circular references, the individual data props are analyzed, and only those are truncated, which have circular references. The rest of the props are returned as-is, irrelevant of the depth. An informative message is prepended as a sub-value to the truncated props. Props that are undefined are also listed now, with having the value \"undefined\" as a string.
v1.0.3 Fixed a bug because of which some Polymer properties which were specified in the component's static properties getter were not listed in the sidepane. Swapped the safeStringify method with an alternative one, which supports depth specification, thus, effectively limiting the JSON stringification process, avoiding endless circular references.
v1.0.2 Fixed a bug because of which array properties of Polymer components were not listed in the sidepane.
Marketplace searchable tags:
litelement, lit-element, lit element, polymerelement, polymer-element, polymer element
Source Manifest.json
Similar Extensions
Web Component DevTools 653 9 ★ 1.74MiB
Vue.js devtools 653 43 ★ 2.08MiB
tweak: mock and modify HTTP requests 653 190 ★ 3.22MiB
Angular state inspector 653 64 ★ 36.35KiB
axe DevTools - Web Accessibility Testing 653 114 ★ 2.89MiB
Custom Elements Locator 653 3 ★ 3.46MiB
PolySearch 653 5 ★ 19.17KiB
Preact Developer Tools 653 11 ★ 147KiB
Vue.js devtools (beta) 653 149 ★ 2.54MiB
GraphQL developer tools 653 24 ★ 98.19KiB
Vue force dev 653 35 ★ 38.0KiB
Polymer Ready 653 15 ★ 14.71KiB
Angular DevTools 653 159 ★ 3.2MiB
MobX Developer Tools 653 51 ★ 682KiB
Solid Devtools 653 7 ★ 123KiB
Alpine.js devtools 653 34 ★ 67.78KiB
Svelte DevTools+ 653 5 ★ 267KiB
ARIA DevTools 653 32 ★ 491KiB
AngularJS Inspect Watchers 653 21 ★ 35.49KiB
Svelte DevTools 653 19 ★ 58.61KiB
CSS Stacking Context inspector 653 21 ★ 262KiB
ng-inspect for AngularJS 653 87 ★ 585KiB
Ember Inspector 653 345 ★ 3.49MiB
Svelte Reactive Debugger 653 0 ★ 216KiB
User reviews
Vlad Timofte (ID: 0000003ce8447a48) Voted 5 ★ - Updated 11/10/2023
Elisa Olalde (ID: 0000006b0cdd41e1) Voted 5 ★ - Updated 01/25/2022
Cristian “Skynetwasbetter” I (ID: 000000082624a113) Voted 5 ★ - Updated 01/25/2022
Anduel Pitushi (ID: 00000077c80101f6) Voted 5 ★ - Updated 08/17/2021
Rares Ghinga (ID: 000000d7c4bae6d4) Voted 5 ★ - Updated 08/17/2021