EasyUI
Create a Menu Button
Tutorial » Create a Menu Button
Menu button contains a button and a menu component, when click or move mouse over the button, a corresponding menu will show.
To define a menu button you should define a link button and a menu, below is an example:
Now a menu button is finished and you don't need to write any javascript code.