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
I love Trestle, but the lack of documentation some times drives me crazy.
There is a way to refresh a view when an event happen in other application point? like "real time" stuff?
For example:
A real-time counter that grows up when users click in a button
The text was updated successfully, but these errors were encountered:
hdbreaker
changed the title
WebSockets / action_cable suport?
WebSockets / action_cable support?
Feb 27, 2023
Thinking about how to solve this issue, I was looking that I can use /app/assets/javascripts/trestle/custom.js to poll or connect to ActionCable. Now I'm able to trigger a refresh of the page if a new record is created.
I want to extend this to refresh the frontend data that Trestle is using to populate the view, how can I access/update/overwrite Trestle data object that is used to populate the view from js? There is a way to do that?
Hi guys?
I love Trestle, but the lack of documentation some times drives me crazy.
There is a way to refresh a view when an event happen in other application point? like "real time" stuff?
For example:
A real-time counter that grows up when users click in a button
The text was updated successfully, but these errors were encountered: