The fragment to reload periodically.
Options for reloading the fragment.
By default Unpoly will parse options from the fragment's attributes like ([up-interval]
).
You may pass this additional options object to supplement or override options parsed from the fragment's attributes.
The reload interval in milliseconds.
Defaults to up.radio.config.pollInterval
.
The URL from which to reload the fragment.
Defaults to the URL this fragment was originally loaded from.
The HTTP method used to reload the fragment.
A JSON object with additional request headers.
A JSON object with additional parameters that should be sent as the request's query string or payload.
When making a GET
request to a URL with a query string, the given { params }
will be added
to the query parameters.
Whether to preserve the polling fragment's data object through reloads.
Controls polling while the fragment's layer is covered by an overlay.
When set to 'front'
, polling will pause while the fragment's layer is covered by an overlay.
When the fragment's layer is uncovered, polling will resume.
When set to 'any'
, polling will continue on background layers.