About the vcf-svg category

vcf-svg: # <vcf-svg>

Gitter
npm version
Published on Vaadin Directory

Web Component for manipulating and animating SVG.

  • Web Component wrapper for the JS library SVG.js.
  • Zoom and pan functionality implemented with d3-zoom.
  • Draggable functionality implemented with plugin svg.draggable.js.

Live demo :arrow_upper_right:
|
API documentation :arrow_upper_right:

Installation

Install vcf-svg:

npm i @vaadin-component-factory/vcf-svg --save

Usage

Once installed, import it in your application:

import '@vaadin-component-factory/vcf-svg';

Add <vcf-svg> element to the page.

<vcf-svg></vcf-svg>

Running demo

  1. Fork the vcf-svg repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the vcf-svg directory, run npm install to install dependencies.

  4. Run npm start to open the demo.

Server-side API

This is the client-side (Polymer 3) web component. If you are looking for this web components server-side (Java) API for the Vaadin Platform, it can be found here: Svg Component - Vaadin Add-on Directory

Vaadin Prime

This component is available in the Vaadin Prime subscription. It is still open source, but you need to have a valid CVAL license in order to use it. Read more at: Pricing Plans | Vaadin

License

Commercial Vaadin Add-on License version 3 (CVALv3). For license terms, see LICENSE.

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see: GitHub - vaadin/vaadin-usage-statistics: Development-time usage statistics collector.