Clone the repository to your local environment.
git clone https://github.com/vector-js/vector.git
Install NPM dependencies
Build the library
npm run build
Then start a local server to view the examples in the "index.html" page.
Navigate into the website folder
Serve a local version of the site
Big shout out to Tania Rascia for her SCSS boilerplate, New Moon Syntax Theme, and inspiration.
These global attributes are associated with every SVG element in the DOM. TODO: probably remove transform from this list
Downloads the current drawing as an svg file.
Returns the current script name.
Returns a promise containing the response object.
Gets the URL parameters of the current session.
Returns true if the number is prime, false otherwise.
Loads the interactive script at the provided url into the provided HTMLElement.
Returns the next prime number after the given integer.
Returns the filename portion of a file path.
Parses and returns the SVG documented represented by the string argument.
Generated using TypeDoc