I'm using the bundle version of svgedit (as a package npm i svgedit) and I wanna have access to convertUnit utitlity function in the same way I do with the opposite operation convertToNum.
This work:
import Editor from 'svgedit';
const svgEditor = new Editor(...);
svgEditor.svgCanvas.convertToNum('', '2cm');
I'm using the bundle version of svgedit (as a package
npm i svgedit
) and I wanna have access toconvertUnit
utitlity function in the same way I do with the opposite operationconvertToNum
.This work:
This doesn't work: