Commit Graph

2421 Commits

Author SHA1 Message Date
Adam Bradley
f744d9ebcf feat(navclear): Ability to disable the next view transition and back button 2014-03-18 21:51:32 -05:00
Adam Bradley
ad86651531 created menuClose and navClear directives 2014-03-18 21:44:59 -05:00
Max Lynch
306dd467fe Merge branch 'master' of https://github.com/driftyco/ionic
Conflicts:
	js/ext/angular/test/content.html
2014-03-18 17:53:22 -05:00
Max Lynch
a21c84a8a9 Fun test 2014-03-18 17:52:51 -05:00
Andy Joslin
cd5131c107 tests(): move has-* to classes for ion-content elements 2014-03-18 15:36:13 -06:00
Andy Joslin
532d473e35 feat(ion-content): watch padding attribute 2014-03-18 15:03:42 -06:00
Andy Joslin
ae57b2b81a test($ionicScrollDelegate): remove xdescribe 2014-03-18 14:58:13 -06:00
Max Lynch
00bb385af7 Added animation direction mixin 2014-03-18 15:57:13 -05:00
Max Lynch
9db69cfda4 Fix content demo 2014-03-18 15:57:13 -05:00
Max Lynch
049aabc706 fix(scrollView): pull to refresh spin back. Fixes #774 2014-03-18 15:57:13 -05:00
Adam Bradley
ded469311d fix(badge): Badge horizontal alignment over item right side buttons, closes #826 2014-03-18 15:55:05 -05:00
Andy Joslin
83f4776f53 chore: remove animation & type attributes, standard controller names 2014-03-18 14:54:21 -06:00
Andy Joslin
5117d5673a refactor(ionContent): remove has-* classes
BREAKING CHANGE: ion-content's has-header/footer/tabs attributes
no longer work.

Use the classes 'has-header', 'has-subheader', 'has-footer', and
'has-tabs' to modify the positioning of the ion-content relative
to surrounding elements.

Before: `<ion-content has-header="true">`

After: `<ion-content class="has-header">`
2014-03-18 14:49:12 -06:00
Andy Joslin
7b410eaa61 refactor(ionicBar): fix controller being assigned to parent scope 2014-03-18 14:49:12 -06:00
Peter Collins
9258cde4fe Gulp task to generate Lunr index file 2014-03-18 15:23:27 -05:00
Adam Bradley
5d663a61cc remove modal max-width, closes #824 2014-03-18 14:47:38 -05:00
Max Lynch
33b93924a4 Update CONTRIBUTING.md 2014-03-18 14:44:23 -05:00
Adam Bradley
f602674a19 fix docs method names 2014-03-18 13:19:38 -05:00
Adam Bradley
6627aafe05 improve hiding status bar and reduce flickers 2014-03-18 11:56:24 -05:00
Adam Bradley
ea34da9e26 Salamander 2014-03-18 09:14:26 -05:00
Andy Joslin
a40baff555 tests: update for new directive syntaxes 2014-03-18 08:13:05 -06:00
Adam Bradley
dc138b4fa3 do not remove cordovans deviceready event listener 2014-03-18 09:04:50 -05:00
Adam Bradley
bd4c1f48a5 modify how elements remove active class 2014-03-18 08:48:58 -05:00
Adam Bradley
85b69fd2c4 sideMenu menuNav directive to stop next view animation and close side-menu 2014-03-17 23:06:46 -05:00
Max Lynch
25f8829949 Cleanup whitespace 2014-03-17 19:43:38 -05:00
Max Lynch
dddc34d8d2 fix(popup): focus popup. Fixes #820 2014-03-17 19:41:36 -05:00
Max Lynch
72ee799c4e fix(click): enter key submission blocked. Fixes #819 2014-03-17 19:32:17 -05:00
Andy Joslin
b630214fdf refactor(ionTabBar): remove tab.shown and tab.hidden events
Instead, use `on-select` and `on-deselect` attribute callbacks.

Alternatively, listen for $scope.$on('$destroy') in a controller inside
your tab.
2014-03-17 14:41:51 -06:00
Andy Joslin
e0681590ab docs: make properties of objects be linkable 2014-03-17 14:26:15 -06:00
Andy Joslin
e9bf43a813 docs: sort by groups by default 2014-03-17 14:22:16 -06:00
Adam Bradley
8c55e280ba fix scrolling through list causes "active" class on items 2014-03-17 13:47:04 -05:00
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