Skip to content

Render to SVG element #229

@noelwelsh

Description

@noelwelsh

Make it easy to render to an SVG DOM element, that the user can then manipulate, instead of rendering directly into the DOM tree. The most convenient way to do this is probably to return ScalaTags, so this would be straightforward as that is already our internal representation.

This is useful because users will not always want to just insert the SVG into the DOM tree. They might want to manipulate it, but adding their own elements or choosing how and when to insert it. This gives them the flexibility to do so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions