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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy