Inspect Lit or Polymer webcomponents 'through a prism'. View and modify component properties on the fly through Chrome DevTools.

Latest Version

Version
1.2.0
Update
August 13, 2022
Size
130KiB
Developer
Category
Users
653
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

Lit Prism Extension

Inspect LitElement or PolymerElement webcomponents 'through a prism'. View and modify component properties on the fly through Chrome Developer Tools.

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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Lit Prism", "description": "Inspect Lit or Polymer webcomponents 'through a prism'. View and modify component properties on the fly through Chrome DevTools.", "author": "K\u00f6ble Istv\u00e1n", "version": "1.2.0", "manifest_version": 3, "icons": { "16": "assets/icon16.png", "32": "assets/icon32.png", "192": "assets/icon192.png" }, "action": { "default_popup": "popup.html", "default_icon": { "16": "assets/icon16.png", "32": "assets/icon32.png", "192": "assets/icon192.png" } }, "devtools_page": "devtools.html", "offline_enabled": true, "permissions": [ "storage" ]}
Read more

How to download and manually install Lit Prism extension for Chrome

Looking for a way to install Lit Prism extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Lit Prism extensions manually, this article outlines two simple methods to effortlessly install Lit Prism extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Lit Prism extension and manually install through Drag &Drop

If you ever need to manually install a Lit Prism extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Lit Prism Extension by clicking the "Download CRX" button on the website.

Look for the Lit Prism extension you wish to install. Go to the website and download the Lit Prism extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Lit Prism extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Lit Prism extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Lit Prism extension for Chrome and install in Developer Mode

This is another method to install Lit Prism extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Lit Prism extension file

Select and download the Lit Prism extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Lit Prism extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Lit Prism extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Lit Prism extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Lit Prism extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Web Component DevTools Extension · Developer Tools 653 9 ★ 1.74MiB

icon

Vue.js devtools Extension · Developer Tools 653 43 ★ 2.08MiB

icon

tweak: mock and modify HTTP requests Extension · Developer Tools 653 190 ★ 3.22MiB

icon

Angular state inspector Extension · Developer Tools 653 64 ★ 36.35KiB

icon

axe DevTools - Web Accessibility Testing Extension · Accessibility 653 114 ★ 2.89MiB

icon

Custom Elements Locator Extension · Developer Tools 653 3 ★ 3.46MiB

icon

PolySearch Extension · Productivity 653 5 ★ 19.17KiB

icon

Preact Developer Tools Extension · Developer Tools 653 11 ★ 147KiB

icon

Vue.js devtools (beta) Extension · Developer Tools 653 149 ★ 2.54MiB

icon

GraphQL developer tools Extension · Developer Tools 653 24 ★ 98.19KiB

icon

Vue force dev Extension · Developer Tools 653 35 ★ 38.0KiB

icon

Polymer Ready Extension · Developer Tools 653 15 ★ 14.71KiB

icon

Angular DevTools Extension · Developer Tools 653 159 ★ 3.2MiB

icon

MobX Developer Tools Extension · Developer Tools 653 51 ★ 682KiB

icon

Solid Devtools Extension · Developer Tools 653 7 ★ 123KiB

icon

Alpine.js devtools Extension · Developer Tools 653 34 ★ 67.78KiB

icon

Svelte DevTools+ Extension · Developer Tools 653 5 ★ 267KiB

icon

ARIA DevTools Extension · Developer Tools 653 32 ★ 491KiB

icon

AngularJS Inspect Watchers Extension · Developer Tools 653 21 ★ 35.49KiB

icon

Svelte DevTools Extension · Developer Tools 653 19 ★ 58.61KiB

icon

CSS Stacking Context inspector Extension · Developer Tools 653 21 ★ 262KiB

icon

ng-inspect for AngularJS Extension · Developer Tools 653 87 ★ 585KiB

icon

Ember Inspector Extension · Developer Tools 653 345 ★ 3.49MiB

icon

Svelte Reactive Debugger Extension · Developer Tools 653 0 ★ 216KiB

User reviews

icon

Vlad Timofte (ID: 0000003ce8447a48) Voted 5 ★ - Updated 11/10/2023 Perfect!! :)

icon

Elisa Olalde (ID: 0000006b0cdd41e1) Voted 5 ★ - Updated 01/25/2022 I looooveee it ❤️ Thanks for making my life easier.

icon

Cristian “Skynetwasbetter” I (ID: 000000082624a113) Voted 5 ★ - Updated 01/25/2022 https://media.giphy.com/media/3otPowQIzMRKDKKSvm/giphy.gif

icon

Anduel Pitushi (ID: 00000077c80101f6) Voted 5 ★ - Updated 08/17/2021 Nice one :D

icon

Rares Ghinga (ID: 000000d7c4bae6d4) Voted 5 ★ - Updated 08/17/2021 yeah buoyyy