Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
ang2-tag-cloud
Advanced tools
Readme
##Angular Tag Cloud
To install this library, run:
$ npm install ang2-tag-cloud --save
and then from your Angular AppModule
:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { Ang2TagCloudModule } from 'ang2-tag-cloud';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule,
Ang2TagCloudModule,
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
<ang2-tag-cloud
[tags]="tagArray"
(onSelect)="onSelectionChane($event)"
maxFontSize="6"
minFontSize="1"></ang2-tag-cloud>
tags : array of tags or array of objects , required. data source for tag list ( if its an object array then each object must contain a key "name" to hold the tag name"
onSelect : callback function that is executed when a new tag is selected. e.g. (onSelectionChane)="onSelectionChane($event)"
minFontSize : number, minimum allowed font size
maxFontSize : number, maximum allowed font size
animateTags : if true then we will show animation effect on the tag cloud
random : if true then the animation will be random way
'tags' can be an array of string or array of objects, sample array:
tagArray = ["html","css","Js"]
OR
tagArray = [{
name:"html"
value:1
},{
name:"css"
value:2
},{
name:"js"
value:3
}]
FAQs
Simple and clean library for displaying tag cloud
The npm package ang2-tag-cloud receives a total of 9 weekly downloads. As such, ang2-tag-cloud popularity was classified as not popular.
We found that ang2-tag-cloud demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.