Kin Blas
1ec80bdc80
I broke button states in my last checkin. I was passing in the wrong element (document) into the new function that finds the button element.
2011-04-21 10:56:04 -07:00
Kin Blas
c31ee33a0f
Fix for 1407 - Bad scroll performance since A4 on iPhone 3G
...
- Modified vmouse code so that it uses $.data() instead of $().data() which is significantly faster.
- Modified the navigation and buttonMarkup code so they stop using live(). The vmouse code triggers several events during the touch events, which in turn causes the underlying event code to call $.closest() with the selector used during the live() call to figure out if the event should be handled. This turns out to be very expensive, so instead, we now just bind directly to the document, and walk the DOM manually to figure out if we should handle it. This is much faster since we are avoid triggering multiple nested function calls.
2011-04-18 16:13:50 -07:00
jblas@adobe.com
729cda075a
Merge branch 'master' into fastclick
...
Resolved Conflicts:
js/jquery.mobile.buttonMarkup.js
js/jquery.mobile.event.js
js/jquery.mobile.forms.checkboxradio.js
js/jquery.mobile.forms.select.js
js/jquery.mobile.listview.js
2011-03-27 21:00:22 -07:00
scottjehl
7503f62a10
changed our two new custom data helper names to jqmData() and :jqmData()
2011-03-25 17:50:40 -04:00
scottjehl
ea60207c1b
changed custom data method to $.fn.mobileData() and updated plugins that use it.
2011-03-09 23:27:21 -05:00
scottjehl
ce34ece257
namespaced data- attrs to $.mobile.ns (defaults to "jq-") throughout the JS
2011-03-09 20:47:44 -05:00
Kin Blas
8dd766dbce
Removed experimental setting of the ui-btn-active class on button down. This breaks feedback on checkboxes and radios.
2011-03-09 14:13:26 -08:00
Kin Blas
2381bfdeef
Remove the ui-btn-down and active class on vmousecancel instead of vmousemove.
2011-03-09 12:35:59 -08:00
Kin Blas
3f627acba8
- Added support for a vmouseevent that is triggered when a touch results in the window scrolling.
...
- Modified the button markup behavior so that it uses the virtual mouse events and adds the ui-btn-active class on vmousedown, and then removes it on vmousemove or vmouseup.
2011-02-25 22:20:04 -08:00
Davide Bertola
08b17e71cb
Make button look pressed on touchstart event
2011-02-02 14:28:58 +08:00
John Bender
badefe1ee1
whitespace and missing semicolon fix
2011-01-30 00:19:15 -08:00
ehynds
e2eb9e9298
add disabled option support. fixes #350
2010-12-03 22:30:08 +08:00
scottjehl
93179f9a3d
updated comment about license to match other jQuery projects - MIT "or" GPL
2010-11-19 22:47:47 -05:00
scottjehl
a24196e550
dolla dolla bills y'all.
...
Fixes #126 , Fixes #346
2010-11-11 10:50:28 -05:00
scottjehl
356308e6b7
updates to comments
2010-11-09 19:55:52 -05:00
John Resig
c8b5728c21
Fix issues with button rendering.
2010-10-22 11:39:26 -04:00
John Resig
f91b2523ff
Merge clickable into buttonMarkup. Improve performance of the Button Markup plugin.
2010-10-21 17:18:59 -04:00
scottjehl
3428753aa6
cleaned up theme inheritance logic a bit
2010-10-11 19:32:19 -04:00
scottjehl
a26e0a0d6a
added "inline" option to buttons and button links. data-inline="true". Fixes #148
2010-10-11 15:47:30 -04:00
scottjehl
5dbda8eb25
buttons now inherit theming from bar,body,and list (TBD) containers.
...
Consequently, when designing themes, button-A should be designed to pair well with bar,body,and list A.
This page shows a nice example of it in action:
http://jquerymobile.com/test/#_containers-states.html
Fixes #44
2010-10-09 09:22:27 -04:00
scottjehl
4db915a3c3
if a button's iconpos is "notext" and it has no title attr, set its title attr to its text content
2010-10-07 11:39:23 -04:00
Scott González
5c3d35574f
Renamed files.
2010-10-07 11:30:48 -04:00