echo
echo copied to clipboard
default.init is not a function...
Hi,
I'm using browserify and this is giving me c.default.init is not a function error.
import echo from 'echo-js'
echo.init({
offset: 100,
throttle: 250,
unload: false
})
Why is this?
If someone will be looking for the answer:
import echo from 'echo-js';
echo(window).init({
throttle: 250,
offset: 1000,
unload: true,
});