Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feature Request: Add refetch #91

Closed
@dgreif

Description

@dgreif

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions