LucHariman / ng-tagcanvas

5 stars 3 forks source link

NgTagCanvas

An Angular component wrapper for goat1000's HTML5 canvas tag cloud, compatible with Angular version 12 and upward.

Installation

If using npm:

npm install ng-tagcanvas

If using yarn:

yarn add ng-tagcanvas
<ng-tag-canvas [options]="{ dragControl: true, weight: true }">
  <a ngTag [weight]="40">Go</a>
  <a ngTag [weight]="99">Typescript</a>
  <a ngTag [weight]="50">Java</a>
  <a ngTag [weight]="60">Python</a>
  <a ngTag [weight]="80">Rust</a>
</ng-tag-canvas>

Demo

https://luchariman.github.io/ng-tagcanvas

Changes compared to the version 0.x: