Ulrich-Matthias Schäfer
Ulrich-Matthias Schäfer
I think the transpilation step might mess up stuff here. Maybe I have to update the toolchain and rebuild. You can try using the esm versions. That should work
I released a new version with an updated build chain. Hopefully that fixes it
Importing using `svg()` will not give you back the imported element because it is totally possible to import more stuff at once e.g. `svg('')`. What you get back instead is...
It's currently not possible
Units are rarely used in svg. whats your usecase?
Or we could just skip the unit alltogether. Feel free to implement a PR. You should find the corresponding code somewhere in https://github.com/svgdotjs/svgdom/blob/master/src/utils/textUtils.js
This library has no notion of real-world measurements. How much is a cm in px if you don't have a screen? There is no way to know. The only other...
sorry, what?
A drag consists of a mousedown, a drag and a mouseup. A click consists of mousedowm and mosueup. The plugin prevents the mousedown so the click never happens. You can...
It is not advises to trigger native events yourself. That's why I am not a fan of that idea. However, we can add a custom event which the user can...