Matsuuu / web-component-devtools

Web Component DevTools is a Browser Extension enhancing the development experience of Web Component developers
https://matsuuu.github.io/web-component-devtools/
MIT License
131 stars 3 forks source link

Inspectors lists String values of default parameters #33

Closed Danny-Engelman closed 3 years ago

Danny-Engelman commented 3 years ago

I ran the Inspector on: https://pie-meister.github.io/

My method:

 svg(
     root, 
     colors = (this.getAttribute("stroke") || "#3c3,#c33,#33c,#cc3,#c3c,#3cc").split(","), 
     pull = ~~this.getAttribute("pull"), 
     t = 0, 
     pathLength = 0
) 

Issues

Matsuuu commented 3 years ago

Having function calls as params is not something that really is in the scope. It already turns true and false. Turning json objects to actual json objects is also shipping in the next patch.