aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngMobile/directive
AgeCommit message (Collapse)Author
2013-08-09chore(ngMobile): rename module ngTouch and file to angular-touch.jsBrian Ford
BREAKING CHANGE: since all the code in the ngMobile module is touch related, we are renaming the module to ngTouch. To migrate, please replace all references to "ngMobile" with "ngTouch" and "angular-mobile.js" to "angular-touch.js". Closes #3526
2013-07-31fix(mobile-ng-click): prevent unwanted opening of the soft keyboardJan Laußmann
Ghost clicks are busted but the corresponding form elements are still focused. This means that for example on smartphones the soft keyboard will be opened. This pull request prevents the unwanted opening of the soft keyboard.
2013-07-25feat(ngMobile): emit 'swipeleft' and 'swiperight' eventsBraden Shepherdson
Similar to ngMobile clicks, these events were not capturable by other directives. Now they emit 'swipeleft' and 'swiperight' events that can be follow with element.on('swipeleft', ...).
2013-07-24fix(ngMobile): emit click event for touchy clicksBraden Shepherdson
Previously, no handlers for the click event would be called for the fast, touch-based ngMobile clicks, only for desktop browser clicks. Now the event will fire properly for all clicks. Closes #3219 Closes #3218 Closes #3137
2013-07-24fix(ngMobile): prevent ngClick when item disabledJulien Bouquillon
- the ngClick attribute was always triggered, regardless the ngDisabled/disabled attributes - we now check the DOM disabled status before triggering the original click event Closes #3124 Closes #3132
2013-06-19feat(jqLite): switch bind/unbind to more recent jQuery on/offMichał Gołębiowski
jQuery switched to a completely new event binding implementation as of 1.7.0, centering around on/off methods instead of previous bind/unbind. This patch makes jqLite match this implementation while still supporting previous bind/unbind methods.
2013-05-23feat($swipe): Refactor swipe logic from ngSwipe to $swipe service.Braden Shepherdson
This new service is used by the ngSwipeLeft/Right directives, and by the separate ngCarousel and swipe-to-delete directives which are under development.
2013-04-30feat(ngTap): Add a CSS class while the element is held down.Braden Shepherdson
2013-04-11feat(ngSwipe): Add ngSwipeRight/Left directives to ngMobileBraden Shepherdson
These directives fire an event handler on a touch-and-drag or click-and-drag to the left or right. Includes unit tests and docs update. Manually tested on Chrome 26, IE8, Android Chrome and iOS Safari.
2013-03-20fix(ngMobile): Use bracket notation to fix minified versionJason Als
Added aliases for minification
2013-03-13feat(ngMobile): add ngMobile module with mobile-specific ngClickBraden Shepherdson
Add a new module ngMobile, with mobile/touch-specific directives. Add ngClick, which overrides the default ngClick. This ngClick uses touch events, which are much faster on mobile. On desktop browsers, ngClick responds to click events, so it can be used for portable sites.