Hacker News new | ask | show | jobs
by moomooc 3271 days ago
Thank you very much. We worked really hard to get Vecta up to this stage. Your feedback meant a lot to us. Now about that API option, we do have plans and it is actually... already built in! We have plans of opening it up soon, but here's a little something you can do in your browser's JS developer console. Try typing in Vecta.

The namespace 'Vecta' allows you to access the page or shapes in your active drawing. Vecta.activePage.shapes returns you an array of shapes in your current drawing. You can try setting the color to the first shape with a simple line like this: Vecta.activePage.shapes(0).style('fill', '#ff0000 ');

1 comments

Signed up and created a new doc in latest chrome with ad blockers disabled. Stuck at "Loading" throbber with js console err:

-KoI4H-rmhQDnC4k4U3X:234 GET https://vecta.io/js/jspdf.debug.js -KoI4H-rmhQDnC4k4U3X:234 GET https://vecta.io/js/jspdf.debug.js 404 () objects.3f4dc78a27.js:3 Uncaught (in promise) TypeError: Cannot read property 'width' of undefined at Vecta.Document.insertPage (objects.3f4dc78a27.js:3) at Object.callback (objects.3f4dc78a27.js:3) at fire.afed4e0fe2.js:1 at <anonymous>

Sorry for the error, we're looking into it. Please allow us to buy some time.
Hi Randy, we've just fixed the error, could you please retry it at your end?