ic-poll - The Poll Attribute


The ic-poll attribute tells Intercooler to poll the URL given by a ic-src attribute on a given interval.


The value of the attribute should a valid integer, followed by the string "s" (for seconds) or "ms" (for milliseconds). (e.g. ic-poll="100ms" indicates that the server should be polled every 100 milliseconds.)


ic-poll has no dependency implications.


Here is a simple example of a poll interval:

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