Matthew Leon Grinshpun
62459c7cca
fix for button iconshadow
2011-10-15 15:09:45 -04:00
Matthew Leon Grinshpun
6ef1d6ea6c
fix for shadows and corners
2011-10-15 15:00:37 -04:00
John Bender
71b0eb0552
move $.fn.text invocation to $.fn.getEncodedTest where the content is being re-added to the dom for xss safety Fixes #2550
2011-10-04 18:25:54 -07:00
Mat Marquis
3c3a777158
Fixes #2594 — Button text is no longer read aloud twice (and treated as two separate navigable items) in iOS VoiceOver.
2011-10-04 16:45:14 -04:00
toddparker
eaf5822c65
Restored button inline styling by defining inline as an option in the button markup plugin. Fixes #2496
...
The recent jqmData changes exposed this issue. Default for this option
is false.
2011-09-23 15:28:24 -04:00
gseguin
a908c5a6ef
Fix for issue #1361
...
Mixin individual properties to options instead of calling .jqmData()
2011-09-15 16:10:10 -07:00
Faolan C-P
86824432e4
fix control group button selector in any .ui-bar instead of just .footer
2011-07-28 14:41:31 -04:00
Faolan C-P
21c8ce2989
add selector for links inside control groups in buttonMarkup
2011-07-28 14:35:47 -04:00
scottjehl
fdb77bfa52
changed new (undocumented) "enhance" event to "create" to better match our existing event name conventions
2011-07-22 09:05:55 -04:00
scottjehl
64e6ef0e72
bound widgets to the "enhance" event, in addition to the pagecreate event. The enhance event allows developers to enhance the contents of an html fragment by triggering "enhance".
2011-07-19 22:44:03 -04:00
scottjehl
2a6c7fc1b9
This commit decouples all widgets from the page plugin so that they can be used ad-hoc.
...
- Internally, each plugin self-initializes by binding to the pagecreate event.
- Unit tests have been added and adjusted to support some internal changes involved in this commit.
- In the process, the portions of the page plugin that were used to enhance the header,content,and footer sections of a native-app style page layout are now located in jquery.mobile.page.sections.js.
- No public API options have changed, except that the page plugin no longer has options for keepNative, and degradeInputs, as plugins now handle these internally (keepNative was never documented, and degradeInputs only affected slider, so it lives there now. Page options related to the page sections are now located in the page.sections script, but they are still configurable via the page plugin's options api.
- Make, Ant, and index files are updated with a new load order for all JS files.
2011-07-19 22:25:23 -04:00
Konstantin Pozin
807089b04a
Fix for #1271 - iconshadow
2011-07-06 13:22:53 -07:00
Rick Waldron
5b02da2c09
jQuery core style guide conformance: jquery.mobile.buttonMarkup.js
2011-06-28 18:30:17 -04:00
cburgdorf
c13a2f3bcb
Fixed curly braces on new line
2011-06-22 09:31:49 -07:00
Steven Black
399c2c5af0
jquery.mobile.buttonMarkup.js: Whitespace changes, bring this package up to jQuery coding standards.
...
Signed-off-by: Steven Black <steveb@stevenblack.com>
2011-05-26 15:08:10 -04:00
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