EasyUI Forum
July 17, 2024, 04:24:46 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Replacement for linkbutton/menubutton/splitbutton  (Read 16141 times)
anton.dutov
Newbie
*
Posts: 27


View Profile
« on: August 15, 2012, 08:29:18 AM »

I am suggest combine  linkbutton, menubutton, splitbutton to one plugin (DRY principie)

See attaches

plugin called 'button' is replacement for linkbutton but provides advanced options(and functionality):
duration : int - for menu
menu : str     - menu object
split : bool   - Provide button menu behavior like in splitbutton

If no menu option passed then plugin work like standard linkbutton
If menu option set and split option is false, plugin work like menubutton
If menu option set and split option is true, plugin work like split button
Logged
anton.dutov
Newbie
*
Posts: 27


View Profile
« Reply #1 on: September 12, 2012, 04:58:40 AM »

Any response?
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!