Skip to content

How to write a wrapper for an existing JS library? #1265

Closed
@flosse

Description

@flosse

I'd like to create a wrapper for an existing JS lib (in my case it's leaflet) but I couldn't find any documentation about how to do this.
Do I have to create e.g. a leaflet_wrapper.js (like the example @ rustwasm #importing-non-browser-js) and then create the actual leaflet.rs that is linked to the wrapper?

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