Hello Lucien,
Can you add a second short example of how to use framer-DynamicLoader with a different external library, please?
I am particularly interested in loading http://mojs.io
This is as far as I have been:
{DynamicLoader} = require "DynamicLoader"
mojs = [
"https://cdn.jsdelivr.net/mojs/0.265.6/mo.min.js",
]
shape = new (mojs.Shape)(
shape: 'circle'
radius: 25
radiusX: 35
fill: 'transparent'
stroke: '#F64040'
strokeWidth: 7
isShowStart: true)
I'm using Framer Studio v104, but get this error TypeError: undefined is not a constructor (evaluating 'new mojs.Shape')
Hello Lucien,
Can you add a second short example of how to use
framer-DynamicLoaderwith a different external library, please?I am particularly interested in loading http://mojs.io
This is as far as I have been:
I'm using
Framer Studio v104, but get this errorTypeError: undefined is not a constructor (evaluating 'new mojs.Shape')