ic-poll-repeats - The Poll Repeats Attribute

Summary

The ic-poll-repeats attribute is used in conjuction with the ic-poll attribute. It tells Intercooler to repeat the poll up to a specified number.

Syntax

The value of the attribute should a valid integer.

Dependencies

ic-poll-repeats is only functional when using the ic-poll attribute.

Example

Here is a simple example of a poll repeat:

  <div ic-src="/seconds" ic-poll="2s" ic-poll-repeats="5">You have been on this page for 0 seconds...</div>
      
You have been on this page for 0 seconds...