Ext JS tag cloud component
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
TagCloud.css
TagCloud.js

README.md

extjs-tag-cloud

Credits for the work to people @ https://xp-dev.com/trac/catalog/browser/catalog/CompaniesModule/web-app/js/extjs/ux/Ext.ux.TagCloud.js I've just modified constructor to accept store as array of tags.

usage

Just add something like this to your constructor tree:

  {
   xtype: 'tagcloud',
   store: ['education','financial', 'computer', 'application', 'online education', 'degree', 'college', 'capture', 'school', 'online degree', 'online', 'private education', 'education', 'education','education', 'education','education', 'education', 'financial', 'financial', 'financial', 'financial', 'computer', 'online', 'online', 'online', 'education'],
   listeners: {
     tagselect: function(tagcloud, record){
       // whatever
     }
   }
  }