Closed
Description
We have some specific use cases for include-fragment
where we want to re-fetch the content, such as include fragments with polling or a refresh button. Previously this was done with something like the following:
const url = el.getAttribute('src')
el.setAttribute('src', '')
el.setAttribute('src', url)
Unfortunately this approach is currently blocked by #90. Even if that is fixed, it would still be really nice if this was a feature with built in support. For example, it would be much nicer to be able to simple call el.refresh()
or something along those lines.