$(function () { // Set itemPainting event handler function $(".selector").wijtreemap({ itemPainting : function (e, data) { } }); });
Parameters
- e
- The jQuery.Event object.
- data
- Data of item to be painted, set value to data.htmlTemplate to customize treemap item.