PHP Classes

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

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

Contents

Class file image Download
JQVMap.prototype.highlight = function (cc, path) { path = path || jQuery('#' + this.getCountryId(cc))[0]; if (this.hoverOpacity) { path.setOpacity(this.hoverOpacity); } else if (this.hoverColors && (cc in this.hoverColors)) { path.currentFillColor = path.getFill() + ''; path.setFill(this.hoverColors[cc]); } else if (this.hoverColor) { path.currentFillColor = path.getFill() + ''; path.setFill(this.hoverColor); } };