Ocsigen Start demo app

Spinner

This is a demo of the Ocsigen Toolkit spinner widget.

We use this widget to integrate into the page an HTML block that takes a long time to produce, e.g., because of a slow server call.

A spinner is displayed, which is then replaced with the actual content when this content is ready.

For the demo we just sleep for 5 seconds to simulate waiting for the content.

The spinner is generated client-side.