You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
In development builds Stencil exposes data about the vdom of an element with the window.stencil.inspect method. But the data doesn't include all metadata (state variables, watchers, listeners etc.).
Expected behavior:
The full metadata of Stencil components is exposed.
It looks like the getHostRef function used in the inspect method includes this metadata (in the $cmpMeta$ property) and could be added to the global stencil object.
Steps to reproduce:
n/a
Related code:
stencil.getHostRef=getHostRef;
Other information:
There might already be a way to access this information (preferably without having to run the dev server) in which case this issue can be closed.
There is a similar issue (#1542) which would only expose the data in a separate file.
My goal is to update the Stencil Inspector Chrome Extension since it uses window.devInspector which is no longer available.
The text was updated successfully, but these errors were encountered:
Stencil version:
I'm submitting a:
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
In development builds Stencil exposes data about the vdom of an element with the
window.stencil.inspect
method. But the data doesn't include all metadata (state variables, watchers, listeners etc.).Expected behavior:
The full metadata of Stencil components is exposed.
It looks like the
getHostRef
function used in theinspect
method includes this metadata (in the$cmpMeta$
property) and could be added to the globalstencil
object.Steps to reproduce:
n/a
Related code:
Other information:
There might already be a way to access this information (preferably without having to run the dev server) in which case this issue can be closed.
There is a similar issue (#1542) which would only expose the data in a separate file.
My goal is to update the Stencil Inspector Chrome Extension since it uses
window.devInspector
which is no longer available.The text was updated successfully, but these errors were encountered: