Skip to content

dragon-components/dragon-wordcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dragon-wordcloud

开发

安装


yarn || npm install

开发

yarn dev || npm run dev

编译

yarn build || npm run build

使用

 yarn add dragon-wordcloud || npm install -S dragon-wordcloud
import initCloud from 'dragon-wordcloud'

let chart = initCloud(document.getElementById('demo'), [{name: '测试', value: 200}], {height: 500, width: 500, imageUrl: '', left: 'center', top: 'center'})

chart.on('click', ({
  data
}) => {
  alert(data.name)
})

About

封装基于图片的云词图

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published