This demo shows how to set up a list that is appended to periodically and that can be paused and resumed
Note that the "server side" implementation is mocked out using mockjax, so you can see the entire implementation. Click the "Source Code" tab to see the code.
/pollurl every two seconds by using the
ic-pollattributes, and prepends the results into an inner div using the
ic-post-toattribute and update their respective parent div. The server either starts or stops polling by using the
X-IC-CancelPollingresponse headers, respectively.