PHP Classes

File: vendors/jqvmap/src/JQVMap/select.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/jqvmap/src/JQVMap/select.js   Download  
File: vendors/jqvmap/src/JQVMap/select.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: 493 bytes
 

Contents

Class file image Download
JQVMap.prototype.select = function (cc, path) { cc = cc.toLowerCase(); path = path || jQuery('#' + this.getCountryId(cc))[0]; if (!this.isSelected(cc)) { if (this.multiSelectRegion) { this.selectedRegions.push(cc); } else { this.selectedRegions = [cc]; } jQuery(this.container).trigger('regionSelect.jqvmap', [cc]); if (this.selectedColor && path) { path.currentFillColor = this.selectedColor; path.setFill(this.selectedColor); } } };