Skip to content

Make pyscript.write replace content instead of append #76

@MarcSkovMadsen

Description

@MarcSkovMadsen

I believe <py-script output="plot">...</py-script> should replace the contents of the plot element instead of appending.

That would make it easy to display a loading indicator as content until pyscript has loaded and run the script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogissue has been triaged but has not been earmarked for any upcoming releasetag: renderingRelated to rendering of output into the DOMtype: featureNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions