Simple, drop down & combo buttons

Buttons can do an action, display a menu, or both:


Sizing

Short buttons, tall buttons, big buttons, small buttons... These buttons size to their content (just like <button>).


User defined button

Dojo users can extend the button class and define their own background images. Here's an example:

Toggling the display test

(Ticket #403)

Programatically changing buttons

clicking the buttons below will change the buttons above

Instantiation from Script: