Closed PHPJourney closed 4 years ago
If my project create websocket connect . I need real-time print log to page. How bind variable.
or use Id Class append?
i'm waiting for your reply!!
Hi. I'm unable to offer technical support on github issues for this project. As the sole maintainer, I barely have the time to respond to bug reports. You would probably have better luck asking on stack overflow.
I'm try use nunjucks render variable update data in script inner.
The framework from thinkjs..
I don't understand variable quote and set method in my project.
The View template variable update data and real-time show this page. no need refresh.
like vue data bind.
If i want everytime update data to this page. real-time render and change it. How can do that?
I'm in script tags inner call setInterval in 1 seconds .
and get the nunjucks variable. parse the object.
and object.push new data.
set data to nunjucks variable, why not update page data.
my sample code