Opened 10 years ago

Closed 10 years ago

#9619 closed feature (notabug)

Use CSS for hover and click effects for ui buttons

Reported by: tasso85 Owned by:
Priority: minor Milestone: none
Component: ui.button Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Description

Currently jQuery UI buttons use javascript events to apply proper styling in case of hover and click on a button.

There are cases, like the webapp I work on, when there are many buttons on screen, and their initialization via the button() call can noticeably slow down the browser.

I would then recommend to use only CSS to apply the proper hovering and click effects for buttons.

Change History (2)

comment:1 Changed 10 years ago by tasso85

I would also add, this could be useful for buttonsets true, that is, to only use CSS instead of the buttonset() call.

comment:2 Changed 10 years ago by Scott González

Resolution: notabug
Status: newclosed

Pure CSS buttons are something we're actively working on, but I don't really want to track it against the button widget since it won't actually be part of the widget, it'll be part of the new CSS framework. I'm going to close this as "not a bug" because we want the CSS framework to be its own project.

Note: See TracTickets for help on using tickets.