spa-component-grid
Advanced tools
Comparing version 1.0.1 to 1.0.2
14
index.js
@@ -483,2 +483,12 @@ /** | ||
/** | ||
* Cell mouse hover handler. | ||
* | ||
* @this Element | ||
*/ | ||
onItemHover = function () { | ||
if ( this.data.disable !== true ) { | ||
self.focusItem(this); | ||
} | ||
}, | ||
/** | ||
* Construct grid when receive new data | ||
@@ -574,2 +584,6 @@ * | ||
$item.addEventListener('click', onItemClick); | ||
if ( self.hoverable ) { | ||
$item.addEventListener('mouseover', onItemHover); | ||
} | ||
} | ||
@@ -576,0 +590,0 @@ // row is ready |
{ | ||
"name": "spa-component-grid", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Base grid/table implementation.", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
37923
966
0