Commit Graph

1204 Commits

Author SHA1 Message Date
Andy Joslin
479175bf5d refactor(view): use nextUid from angular to generate unique ids
Math.random() is unreliable, produces duplicates, and numbers can
overflow if you use them for long enough.
2014-02-04 08:46:02 -05:00
Andy Joslin
59c10d4f92 fix(scrollView): if bouncing past boundaries, do not stick.
Closes #482

Zynga Scroller slowly lowers the acceleration of scroll as soon as you pass the
boundaries. Once the acceleration reaches zero, zynga will 'flip' the
acceleration in the other direction and scroll back to within the
boundaries (bounce effect).

The problem is, sometimes as it slowly lowers the
acceleration it will get *near zero*, but not reach zero.  When
acceleration gets close enough to zero, zynga stops the scrolling
because it deems it 'too slow'.

Now, the scrolling acceleration will 'flip' and go back towards being
in boundaries (bounce) when the scrolling is below a certain minimum,
not just when it is below zero.
2014-02-03 12:06:33 -05:00
Adam Bradley
2053111312 fix toggle for android 2014-02-01 00:26:53 -06:00
Adam Bradley
00f6b17b7f toggle/checkbox tap improvements 2014-02-01 00:15:10 -06:00
Adam Bradley
7352be9010 set major and minor platform versions in body css 2014-01-31 20:57:26 -06:00
Adam Bradley
f37b196ff8 refactor ionic.Platform methods 2014-01-31 20:36:39 -06:00
Peter C
27f3d565f4 Merge pull request #501 from uniring/nav-bar-title
Allows a view to update the navbar title if his title changes
2014-01-31 18:13:22 -08:00
Adam Bradley
25a9e527af ionic.Platform.exitApp(), always run onPlatformReady() 2014-01-31 11:55:31 -06:00
Adam Bradley
2add26afbb readyCallbacks array and platform() method to get name 2014-01-31 10:45:31 -06:00
UniRing
62698fdc69 Revert "Added support for badges in TabBar icons."
This reverts commit 1bd89a86f5.
2014-01-31 17:43:58 +01:00
UniRing
1bd89a86f5 Added support for badges in TabBar icons.
Added support for TabBar icon badges using the attribute badge in the
tab directive.

Ex: <tab icon-on="icon ion-ios7-person" icon-off="icon
ion-ios7-person-outline" href="#/tab/myprofile" badge="3">

I’ve used the colors of the TabBar itself but inverted for the badge. I
don’t know if you’ll want to merge this straight on but I think it can
help as a start point for this feature. I’ve tried to do it as
integrated as possible.
2014-01-31 17:36:36 +01:00
Adam Bradley
95c8ddf301 Update $ionicPlatform.ready() 2014-01-31 10:31:42 -06:00
Adam Bradley
c3544d8a4a Android back button fixes, closes #454 2014-01-30 22:01:20 -06:00
Adam Bradley
b20ce800ab fallback for browsers that don't support createEvent('CustomEvent') 2014-01-30 20:38:57 -06:00
Adam Bradley
a78a56898c Merge pull request #471 from RangerRick/470-customevent-polyfill
#470 change the CustomEvent polyfill to work with older browsers
2014-01-30 18:28:42 -08:00
UniRing
8b44004af2 Allows a view to update the navbar title if his title changes
Added a watch to see if the contents of the view title changes and, if
so, fire an event to notify the navbar and update the title.
2014-01-31 00:59:12 +01:00
Max Lynch
41fc43675c Better focus delay for modals 2014-01-30 13:50:34 -06:00
Adam Bradley
e231ba0ed5 correct reference to hammer.js 2014-01-30 12:28:11 -06:00
Adam Bradley
8a160077cc fix toggle on desktop 2014-01-30 12:11:47 -06:00
Adam Bradley
aac82a1ebb initMouseEvent instead of MouseEvent, label ghost click fixes 2014-01-29 19:59:44 -06:00
Adam Bradley
4354828ce1 ng-click fixes 2014-01-29 11:20:38 -06:00
Adam Bradley
238abd8b69 Update to Angular v1.2.10 2014-01-29 08:43:30 -06:00
Adam Bradley
64b3181732 simplify click simulation 2014-01-28 11:25:22 -06:00
Adam Bradley
ac7a061ca3 tap detection updates 2014-01-28 11:10:05 -06:00
Max Lynch
5667a3b8af Cleaned up header-aligned tabs 2014-01-25 12:05:40 -06:00
Adam Bradley
7ababad6d8 remove outdated directive tests 2014-01-24 21:33:57 -06:00
Adam Bradley
a8729fb17a Remove angular-touch.js and angular-route.js references 2014-01-24 21:33:28 -06:00
Benjamin Reed
13ec3bce5a #470 change the CustomEvent polyfill to work with older browsers 2014-01-24 20:43:21 -05:00
Adam Bradley
dc7420012e refactor navView and viewService 2014-01-24 17:21:37 -06:00
Adam Bradley
fb4dafd606 update for nav-view testing 2014-01-24 17:21:37 -06:00
Adam Bradley
5932dbcd98 $ionicViewService.disableRegisterByTagName 2014-01-24 17:21:37 -06:00
Adam Bradley
bcee7f268b remove tests no longer needed 2014-01-24 17:21:37 -06:00
Max Lynch
203809397e Fixed 2-way optional for radio/toggle/checkbox 2014-01-23 17:27:41 -06:00
Max Lynch
85b709e5ac Fixed #465 - HTML in header titles 2014-01-23 13:02:44 -06:00
Max Lynch
766f97d94b Fixed #464 - side menu delegate 2014-01-23 12:55:40 -06:00
Max Lynch
5ded0a3708 Scroll delegate unit tests 2014-01-23 12:25:44 -06:00
Max Lynch
790c97a428 Fixed #461 - PTR Android 2014-01-23 09:11:40 -06:00
Max Lynch
050870e5f4 Fixed #458 2014-01-22 23:12:50 -06:00
Adam Bradley
4261a95953 merge tap input updates 2014-01-22 11:13:26 -06:00
Max Lynch
4525884412 Fixed #221 - side menu android issue 2014-01-22 10:50:16 -06:00
Adam Bradley
833fee6b18 android click firing twice fix 2014-01-22 10:17:05 -06:00
Adam Bradley
76fbd2dd5d do not uncheck a checked radio 2014-01-22 10:15:14 -06:00
Adam Bradley
56446c4dfe remove console.log 2014-01-22 10:14:06 -06:00
Max Lynch
cfe3f362d0 Merge pull request #441 from yelbota/master
fix show() when content is different
2014-01-22 07:09:11 -08:00
Max Lynch
78f0242fd2 Pull in #440 2014-01-22 09:02:36 -06:00
Max Lynch
9f82ca1f27 Fixed #449 - Action Sheet Width on Android 2014-01-22 09:00:06 -06:00
Adam Bradley
73cad15ed2 checkbox/radio/toggle updates 2014-01-21 16:51:25 -06:00
Adam Bradley
f0af48a7f6 remove ngTouch from angular.modules 2014-01-20 21:34:34 -06:00
Adam Bradley
37a6ea0a6a Merge branch 'event-fixes' 2014-01-20 20:54:25 -06:00
Max Lynch
577b52fa11 Real fix for #444 with passing test 2014-01-20 18:13:37 -06:00