Skip to content

Add beforeFinish and beforeLoad handlers to page load #25

@mdahardy

Description

@mdahardy

We removed callbacks from the survey logic as most logic can just be handled in the async function itself. However, a callback that calls after the document body has loaded, but before it displays, could be useful for e.g. animating the display of the page which is difficult to do now. Because all logic that happens before the document body has loaded can be handled in the async function, the scope of these listeners can be relatively constrained to handle the logic between load/display and submit/remove display.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions