Open Faouzii opened 3 years ago
Hi,
I'm trying to integrate this tool in my angular 8 app, but with no success.
What I've tried so far:
"scripts": [ .. "./node_modules/TagCloud/dist/TagCloud.min.js", ... ],
const TagCloud = require('TagCloud'); const container = '.tagcloud'; const texts = [ '3D', 'TagCloud', 'JavaScript', 'CSS3', 'Animation', 'Interactive', 'Mouse', 'Rolling', 'Sphere', '6KB', 'v2.x', ]; const options = {}; TagCloud(container, texts, options);
"scripts": [ "./node_modules/TagCloud/dist/TagCloud.min.js", "src/assets/js/tagCloud.js" ]
declare const TagCloud : any;
Hi,
I'm trying to integrate this tool in my angular 8 app, but with no success.
What I've tried so far:
declare const TagCloud : any;