Skip to content

Delayed changing of pages #11

@g105b

Description

@g105b

If we have a data-flux="update" on the page, and that same element has data-flux-delay="1" there should be a 1 second delay before its content is replaced.

There should be a class of flux-updating added as soon as the request starts that will inevitably update its content, and flux-update-complete added once the response is processed and the HTML is edited. The flux-update-complete class can be removed by data-flux-delay seconds.

This should apply to data-flux="live" too. If I want the element to only update once per 5 seconds, it should be possible by using data-flux-delay="5"`.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions