Conversation
|
Thanks for picking this up again @bnanchen! Some feedback:
|
I've abandoned
I've implemented it in the commit f9a372a.
I have implemented it in the commit 3df06e8.
Can you be more explicit about this proposition?
The reason I picked up this issue is to have instead of the |
|
Thanks for the updates, I like your latest changes!
I mean that right now you can customize the name of objects (customize
That's a good point, I think you're right and this is a very common use case. How about passing the child count as property alongside the |
|
Hi,
Yes, that could be great. However, what should we provide to the callback? Also the path and the size?
I was not aware of this. I'll modify the code accordingly. |
|
Thanks for your last changes @bnanchen 👍
I think the only change needed is to call |
|
Thanks @bnanchen, and sorry for the late reply. I really like it. I still feel there is some unnecessary repetition in if (this.type === 'object' || this.type === 'array') {
// ...
this.dom.value.innerHTML = (this.type === 'object')
? ('{' + (objName || count) + '}')
: ('[' + (objName || count) + ']')
}What do you think? |
|
Yes, of course. I'd maybe written a little bit fast; I should have simplified the code from the beginning. |
|
Looks nice and clean, thanks Bastian 👍 |
|
I will update the docs and do a release this weekend. |
|
I've updated the docs and did some more small changes (see commits above).
|
|
Glad to have contributed to this project :) |
Hi,
This PR is the continuation of #338.
I've forked from @chromey and tried to address the problem when the user changes a property but the name of the object does not automatically change.