sercrod

*network-status

*network-status turns an element into an explicit network status action. It delegates to sercrod.network_status. Matching n-network-status forms are aliases. It does not start from rendering alone; click the element, or activate it with Enter/Space, to run the action.

<button type="button" *network-status.current *response="'network'">
  Check network
</button>
<button type="button" *network-status.watch *response="'network'">Watch network</button>
<button type="button" *network-status.clear>Stop watch</button>

Current and watch callback results are written to $network_status and can be placed with *response. The directive value is action options, not the destination key. Watch ids are stored in $network_status_watch_id for later clear actions.

The adapter owns connection status only. It does not retry requests, schedule uploads, manage WebSocket reconnection, synchronize app state, install service workers, or decide application policy.