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

Skip to content

Render function removes element from dom #17

@nielsswinkels

Description

@nielsswinkels

I'm trying to understand the render function and how it is supposed to be used. It seems like the element passed as the first argument is being removed from the dom. Is this what it is supposed to do? I don't see it mentioned in any docs.

Because like this the example here which sets the resulting svg as innerHTML of the element does not work, because that element is no longer being displayed. Probably I am thinking wrong, but not sure how?

Metadata

Metadata

Assignees

No one assigned

    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