PHP Classes

File: vendors/gentelella/vendors/jqvmap/src/JQVMap/getPins.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/jqvmap/src/JQVMap/getPins.js   Download  
File: vendors/gentelella/vendors/jqvmap/src/JQVMap/getPins.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 326 bytes
 

Contents

Class file image Download
JQVMap.prototype.getPins = function(){ var pins = this.container.find('.jqvmap-pin'); var ret = {}; jQuery.each(pins, function(index, pinObj){ pinObj = jQuery(pinObj); var cc = pinObj.attr('for').toLowerCase(); var pinContent = pinObj.html(); ret[cc] = pinContent; }); return JSON.stringify(ret); };