EasyUI Forum
October 18, 2025, 02:40:32 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: menubutton improvement: Show the menu only on button click event  (Read 8253 times)
ryupanqui
Newbie
*
Posts: 44


View Profile Email
« on: May 23, 2014, 09:11:53 PM »

I suggest add a menubutton property to automatically show the menu when mouse enter button, default true, because sometimes i want to show the menu only on button click event. Something like 'showOnMouseEnter' property:

Code:

.bind("mouseenter.menubutton", function() {
// - BEGIN EDIT
if (!opts.showOnMouseEnter) return false;
// - END EDIT
_3ea = setTimeout(function() {
_3eb(_3e8);
}, opts.duration);
return false;
})

« Last Edit: May 23, 2014, 09:56:31 PM by roy.yupanqui » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!