Commit Graph

2040 Commits

Author SHA1 Message Date
Andy Joslin
cdcbea3860 refactor(ionNavButtons): remove elements from bar on scope destroy 2014-03-17 12:18:08 -06:00
Andy Joslin
6662f6effd docs: simplify apis where possible 2014-03-17 11:56:21 -06:00
Andy Joslin
5e865962b0 chore(docs): make left menu manually generated 2014-03-17 10:25:40 -06:00
Andy Joslin
bd66fc8b28 docs(): remove group tag 2014-03-17 10:24:28 -06:00
Adam Bradley
60e4c1cc46 give .slider-pager a height so it can be placed on top easily 2014-03-17 11:01:24 -05:00
Andy Joslin
5a0efecef6 feat($ionicScrollDelegate): rememberScrollPosition, scrollToRememberedPosition
/**
 * @ngdoc method
 * @name $ionicScrollDelegate#rememberScrollPosition
 * @description
 *
 * When this scroll area is destroyed, its last scroll position will be
 * saved using the given id.
 *
 * @param {string} id The identifier for this saved scroll position.
 */

/**
 * @ngdoc method
 * @name $ionicScrollDelegate#scrollToRememberedPosition
 * @description
 *
 * If a scroll position was remembered using the given id, loads the
 * remembered scroll position and scrolls there.
 *
 * @param {string} id The identifier for this saved scroll position.
 * @param {boolean=} shouldAnimate Whether to animate the scroll.
 */
2014-03-17 08:39:23 -06:00
Andy Joslin
cc0a4ef775 test(sideMenu2): update test to reflect changes 2014-03-17 07:48:56 -06:00
Andy Joslin
4715a118e0 refactor($ionicScrollDelegate): make it a factory from current scope
BREAKING CHANGE: $ionicScrollDelegate no longer works globally; you must
create a new instance of each time you use it.  The actual methods on
each instance of $ionicScrollDelegate are the same, however.

Change your code from this:

```js
function MyController($scope, $ionicScrollDelegate) {
  $scope.scrollTop = function() {
    $ionicScrollDelegate.scrollTop();
  };
}
```

To this:

```js
function MyController($scope, $ionicScrollDelegate) {
  var delegate = $ionicScrollDelegate($scope);
  $scope.scrollTop = function() {
    delegate.scrollTop();
  };
}
```
2014-03-17 07:21:20 -06:00
Adam Bradley
f8a7137744 fix(click): Click Events In SlideBox Fire Multiple Times, closes #808 2014-03-17 08:01:57 -05:00
Max Lynch
d5a695757a fix(scrollView): show bar with mouse wheel. Fixes #809 2014-03-16 21:39:40 -05:00
Max Lynch
cb686636cd fix(scrollView): don't show bars if not scrolling. Fixes #805 2014-03-16 21:24:52 -05:00
Adam Bradley
8fae85e9e6 fix(grid): Correct responsive grid breaks for col-XX, closes #803 2014-03-15 21:35:13 -05:00
Andy Joslin
aa30faf863 fix(ionTab): stop browser-tooltip from appearing due to title attr
Closes #804
2014-03-15 18:57:10 -06:00
Andy Joslin
95b6a83dad chore(travis): fix release scripts 2014-03-15 15:10:09 -06:00
Andy Joslin
af7515bdfe docs(ionNavBackButton): add previous title back button example 2014-03-15 13:42:10 -06:00
Andy Joslin
215b1c1ea0 feat(ionicNavBar): add getTitle() and getPreviousTitle() methods 2014-03-15 13:41:02 -06:00
Andy Joslin
9bd78efa34 docs(navigation): add navigation group 2014-03-15 13:40:40 -06:00
Andy Joslin
66d28c46b8 refactor(ionNavBackButton): make click handler use $ionicNgClick service
Closes #802
2014-03-15 11:51:16 -06:00
Andy Joslin
8e09adb23f test(e2e): fix e2e test for new updates 2014-03-15 11:50:11 -06:00
Andy Joslin
87a25a8bff feat(ionNavBar,ionHeaderBar): use declarative syntax
BREAKING CHANGE:

navBar is majorly different.  Manually write this when changelog is
released.  Add link to docs.
2014-03-15 11:49:49 -06:00
Andy Joslin
f8b5c71778 chore(travis): make release script work in future 2014-03-15 11:48:01 -06:00
Andy Joslin
668eb2606b finalize-release: v0.9.27 "salamander" v0.9.27 2014-03-15 11:40:56 -06:00
Andy Joslin
afc9298e42 release: v0.9.27 2014-03-15 11:31:31 -06:00
Andy Joslin
bef0cfe7fd chore(gulp): fix strip-debug task 2014-03-15 11:10:15 -06:00
Andy Joslin
b1ba0bf1dd chore(): add conventional-changelog module to package.json 2014-03-15 10:55:46 -06:00
Andy Joslin
64b98beb4b chore(): prepare for 0.9.27 - last alpha release 2014-03-15 10:50:48 -06:00
Andy Joslin
4427e8778c feat(ionTab): allow custom ngClick expression that doesnt select tab
Closes #784
2014-03-15 09:45:32 -06:00
Andy Joslin
0ffb748fc7 refactor(ionNavBackButton): make click handler use $ionicNgClick service
Closes #802
2014-03-15 09:25:05 -06:00
Andy Joslin
90f360c827 refactor(ionicTouch): factor ngClick logic out to reusable service
Addresses #802
2014-03-15 09:24:59 -06:00
Adam Bradley
baa04cde4d feat(active): Removing use of :active in favor of .active for more control of active state
Using the :active pseudo works fine for desktop, but mobile is a
completely different beast, especially with the quirks of each
platform. By intentionally not using any :active selectors and manually
adding/removing a .active class, it gives us a precise control on how
the active state works for ALL platforms. Additionally, this places
less selectors in the css, and reduces the possibility of unnecessary
repaints. Currently this method of using .active instead of :active is
being applied to .button and .item elements.
2014-03-15 01:12:56 -05:00
Adam Bradley
a3ea027fb0 fix indent alignment 2014-03-14 22:20:12 -05:00
Adam Bradley
fa0e43237c popup z-index sass variables and csscomb'd popup.scss 2014-03-14 22:07:59 -05:00
Adam Bradley
018608dac3 remove unused sass variable 2014-03-14 22:01:27 -05:00
Adam Bradley
6547ca60cb fix(input): Correct vertical alignment of inputs and their labels, closes #799 2014-03-14 21:57:36 -05:00
Adam Bradley
bf75187188 Merge pull request #800 from ewang/patch-2
Fix item-input-inset active state highlight issue
2014-03-14 21:33:03 -05:00
Eric Wang
c882392a4b Fix item-input-inset active state highlight issue
Fix #798
2014-03-14 19:15:35 -07:00
Andy Joslin
12e47134cd ionicView: fix typo 2014-03-14 15:42:42 -06:00
Max Lynch
fd379de382 Fixed a spelling issue 2014-03-14 16:31:53 -05:00
Andy Joslin
40c715f625 test(e2e): fix e2e test for new updates 2014-03-14 15:14:16 -06:00
Andy Joslin
8619d5e8ec docs(): add groups by topic 2014-03-14 15:14:16 -06:00
Adam Bradley
e81bd96528 replace css comments w/ sass comments 2014-03-14 14:19:46 -05:00
Andy Joslin
bfcfae3747 feat(ionNavBar,ionHeaderBar): use declarative syntax
BREAKING CHANGE:

navBar is majorly different.  Manually write this when changelog is
released.  Add link to docs.
2014-03-14 13:06:10 -06:00
Adam Bradley
c0f08f5113 remove link from menu-subsections 2014-03-14 12:53:15 -05:00
Adam Bradley
799599d42e api template tweaks 2014-03-14 12:30:43 -05:00
Andy Joslin
f5f8fd2e07 chore(travis): fix bower script not working correctly 2014-03-14 10:32:29 -06:00
Adam Bradley
28aaa27447 Item dividers should not be allowed to go active by default, closes #789 2014-03-14 11:11:05 -05:00
Andy Joslin
9c0bca4ef5 chore(travis): remove ionic-bower/bower.json#ignore field 2014-03-14 10:10:28 -06:00
Max Lynch
91090b4849 Updated side menu example 2014-03-14 11:03:08 -05:00
Max Lynch
a58999180b fix(sideMenu): Not snapping on close on certain conditions #795 2014-03-14 10:43:55 -05:00
Andy Joslin
c180a39f1f chore(travis): update ionic-bower's bower.json every release
Closes #793, #759
2014-03-14 09:20:34 -06:00