Lit Prism
Inspect Lit or Polymer webcomponents 'through a prism'. View and modify component properties on the fly through Chrome DevTools.
什麼是Lit Prism?
Lit Prism是由Köble István開發的Chrome擴展程式,該擴展的主要功能是“Inspect Lit or Polymer webcomponents 'through a prism'. View and modify component properties on the fly through Chrome DevTools.”。
擴展截圖
下載Lit Prism擴展crx文件
下載Lit Prism擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。
擴展使用說明
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
擴展基本資訊
名稱 | Lit Prism |
ID | agkgbfkeimkbdljdljinnaomlcjboaie |
官方網址 | https://chromewebstore.google.com/detail/lit-prism/agkgbfkeimkbdljdljinnaomlcjboaie |
簡介 | Inspect Lit or Polymer webcomponents 'through a prism'. View and modify component properties on the fly through Chrome DevTools. |
檔案大小 | 130 KB |
安裝次數 | 574 |
目前版本 | 1.2.0 |
更新時間 | 2022-08-13 |
上架時間 | 2021-08-17 |
評分 | 5.00/5 共 6 次評分 |
開發者 | Köble István |
電子郵箱 | kobleistvan@gmail.com |
付費類型 | free |
擴展官網 | https://kobleistvan.com |
說明頁面URL | https://groups.google.com/g/lit-prism |
支援的語言 | en |
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" ] } |