Closed tito10047 closed 3 months ago
Hi, It is possible to set timer for reload live component? I want component that is autmaticaly feetch new data from server every minute.
Has live component this feature or i need add custom controller for that.
The "data-poll" attribute is what you're looking for :)
https://symfony.com/bundles/ux-live-component/current/index.html#polling
<div {{ attributes }} data-poll="delay(500)|$render" >
Hi, It is possible to set timer for reload live component? I want component that is autmaticaly feetch new data from server every minute.
Has live component this feature or i need add custom controller for that.