Back to Practical Aspnetcore

Polling in specific interval using up-poll

projects/unpoly/up-poll/README.md

latest401 B
Original Source

Polling in specific interval using up-poll

We are using the up-poll attribute as documented here.

html
    <div class="welcome-message" up-poll up-source="/unpoly" up-interval="500">
    ..wait for 0.5 seconds
    </div>

[!NOTE]

It is importat that the API returns a matching response otherwise you will not get the desired result (polling).