Closed lemetrec closed 6 years ago
Hi,
I must be missing something obvious, but I can't seem to get where "data" comes from in the demo example:
$('#map').usmap({ // The click action click: function(event, data) { $('#clicked-state') .text('You clicked: '+data.name) .parent().effect('highlight', {color: '#C7F464'}, 2000); } });
Could you please shed some light to me? Thanks a lot!
Ah nevermind, I figured out the issue!
Hi,
I must be missing something obvious, but I can't seem to get where "data" comes from in the demo example:
Could you please shed some light to me? Thanks a lot!