fg-collapsible
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "fg-collapsible", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Toggle your collapsible content", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -70,3 +70,2 @@ /* collapsible extension for navbar functionality */ | ||
$collapsible | ||
// NOTE: this tap-out needs scroll handling for tall more menus!!! | ||
.bind( "mouseover." + pluginName, function( e ){ | ||
@@ -76,3 +75,10 @@ if( $collapsible.is( "[data-collapsible-hover]" ) && !$( e.target ).closest( "." + itemMenuClass + ", ." + itemMoreClass ).length ){ | ||
} | ||
} ); | ||
} ) | ||
.bind( "collapse", function( e ){ | ||
var $childCollapsibles = $( e.target ).find( "." + pluginName + "-expanded." + itemMenuClass ); | ||
if( $childCollapsibles.length ){ | ||
$childCollapsibles.data( pluginName ).collapse(); | ||
} | ||
} ); | ||
} | ||
@@ -79,0 +85,0 @@ }); |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9500
0
336152
31