QingWei-Li/vuep

Two way syncinc

Opened this issue · 6 comments

Awesome! Thanks for the contribution!!

I noticed the sync is not two ways, e.g in the ES6 usage demo the input number will not reflect back into the code. Perhaps that could be considered?

I have not any idea of how to do it. Do you have any idea?

Didn't gave it too much thought, but for example it could listen to the rendered instance $data changes and compare the new state with the source code one, and update as required.

Hello. This is interesting. I would like to add my own thoughts and hope you will find them useful. However, I would like to try the thing before I say anything, so please fix the demo not appearing issue (#2). Thanks.

@QingWei-Li github looks dosen't support syntax like close #1...

Actually I didn't implement it. @reverland

I suspect whether this feature is possible now,,, with eval the whole js and even import other file's data if you decide to accept #8