autorefresh
Reactive icon

AutoRefresh

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 10 Sep (7 hours ago)
 by 
0.0
 (0 ratings)
autorefresh

AutoRefresh

Details
A drop-in wrapper block that refreshes its content on a schedule — perfect for dashboards, ticket queues, order lists, monitoring screens, and anywhere you want "live-ish" data without WebSockets. Pauses automatically when the browser tab is hidden (saving your backend from pointless calls), fires an immediate refresh when the user returns, and cleans up cleanly on navigation. Pure client-side, no dependencies.
Read more

Overview

Auto-Refresh is a small block you wrap around any refreshable content. Set an interval, handle its OnRefresh event, and the block calls you every N seconds so you can re-fetch data, refresh aggregates, or update UI. It's the piece every "live dashboard" reinvents, done properly once.

Key features

  • Refreshes on a configurable interval via the OnRefresh event.
  • Fires immediately on mount — no waiting for the first interval to see fresh data.
  • Pauses when the browser tab is hidden (default) — stops wasting backend cycles on tabs no one's looking at.
  • Fires immediately when the user returns to the tab, then resumes the interval.
  • Toggle refreshing with IsEnabled — pause and resume without unmounting.
  • Cleans up its own timer and visibility listener on destroy.
  • No dependencies, no server calls, no third-party scripts.
Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category