0.2.0-beta.1 • Published 6 years ago
@mserve/ngx-svg-canvas v0.2.0-beta.1
ngx-svg-canvas
Table of contents
Getting Started
ngx-svg-canvas is a whiteboard component for Angular 8.x+ applications. It uses Two.js to render your drawings to an SVG canvas. Exports can be downloaded as SVG.
<ngx-svg-canvas [gridSize]='30'></ngx-svg-canvas>Latest Update
Installation
npm install @m-serve/ngx-svg-canvas --saveAPI
Component:
the ngx-svg-canvas component supports the following input properties:
| Input | Type | Default | Description |
|---|---|---|---|
| gridSize | number | 0 | size of the background grid, hidden if 0 |
| gridColor | string | #6dcff6 | color of the grid, if enabled |
Demo
You can clone the repo and then launch a demo page in your local machine:
npm install
npm run demo
The demo page server is listening to: http://localhost:42030.2.0-beta.4
6 years ago
0.2.0-beta.3
6 years ago
0.2.0-beta.2
6 years ago
0.2.0-beta.1
6 years ago
0.2.0-beta.0
6 years ago