Commit Graph

407 Commits

Author SHA1 Message Date
Andy Joslin
0ffb748fc7 refactor(ionNavBackButton): make click handler use $ionicNgClick service
Closes #802
2014-03-15 09:25:05 -06: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
Max Lynch
91090b4849 Updated side menu example 2014-03-14 11:03:08 -05:00
Max Lynch
a30b0b7d4f feat(popup): Added popup support 2014-03-13 14:57:48 -05:00
Adam Bradley
cd1830898e ionic.views.Modal.prototype.show was not being called 2014-03-12 14:36:57 -05:00
Andy Joslin
4980d09fb3 refact(ionContent): make docs match src 2014-03-11 19:34:30 -06:00
Andy Joslin
9ff7a09af5 refact(ion-refresher-content): only make icon spin 2014-03-11 16:51:28 -06:00
Andy Joslin
573df56db4 feat(ionRefresher): allow custom text & icons
Closes #760

BREAKING CHANGE: on-refresh and on-refresh-opening are no longer on the
ion-content directive.  They are on the ion-refresher. In addition,
on-refresh-opening has been renamed to on-pulling.

Change your code from this:

```html
<ion-content on-refresh="onRefresh()"
  on-refresh-opening="onRefreshOpening()">
  <ion-refresher></ion-refresher>
</ion-content>
```

To this:

```html
<ion-content>
  <ion-refresher on-refresh="onRefresh()"
    on-pulling="onRefreshOpening()">
  </ion-refresher>
</ion-content>
```
2014-03-11 16:40:12 -06:00
Adam Bradley
98e7e1aa87 fix(tap): Do not trigger a click if the element was scrolled after touchstart/mousedown 2014-03-11 16:20:19 -05:00
Andy Joslin
5f2c32ea9b feat(ionInfiniteScroll): allow configuration of icon 2014-03-11 13:56:08 -06:00
Andy Joslin
703f68fb0b test(ionicView): update 2014-03-11 13:26:21 -06:00
Andy Joslin
68ddbdb439 docs(ionSlideView): add configurable model 2014-03-10 21:16:09 -06:00
Andy Joslin
1cf6355f7b docs(ionSideMenu): add configurable model 2014-03-10 21:16:09 -06:00
Andy Joslin
d7f3493079 docs(ionicBar): fix grammar 2014-03-10 21:16:08 -06:00
Andy Joslin
afdee2a47d test(ionicTabBar): update to reflect new controller api 2014-03-10 21:16:08 -06:00
Adam Bradley
7d076bd55b feat(modal): Create a modal backdrop wrapper w/ internal modal directive, closes #605 2014-03-10 22:14:55 -05:00
Adam Bradley
c4ca7a85e0 fix(modal): Fix removing modal from DOM on .remove(), closes #755 2014-03-10 14:42:50 -05:00
Adam Bradley
6f2d6e7c5a fix(tap): Do not detect taps for input[type=file], closes #652 2014-03-10 11:45:15 -05:00
Adam Bradley
181269a2fe do not set a platform if unknown, closes #753 2014-03-09 22:01:38 -05:00
Max Lynch
ea04e393c0 fix(sideMenuController): sticking issue #738 2014-03-09 17:44:00 -05:00
Andy Joslin
5faabb1847 test(ionBar): make tests instant 2014-03-08 13:10:54 -07:00
Andy Joslin
ecfdbaa67b fix(ionTabs): do not pre-transclude; stops error on compile
Closes #730
2014-03-08 12:52:43 -07:00
Andy Joslin
55089042d8 chore(build): documentation generation
Main changes:

* Use gulpfile now (build was getting way too disorganized with custom
tasks; gulpfiles are much easier to build clean custom tasks with than
Grunt.
* View README#Development for updated commands
* Docs written for ionContent, ionHeaderBar, ionInfiniteScroll.
* Docs are pushed to ajoslin's fork of ionic-site until they reach a
* point where they can be published.

**TODO, In Order of Priority**

1. Finish writing source-documentation for all existing components
2. Add multiple versions of docs (one per release & nightly, latest
 stable release docs being shown by default)
3. Add examples generation
4. Add searchbar to docs
2014-03-07 13:36:36 -07:00
Adam Bradley
a491f22c1f fix(backbutton): Allow only one back button listener to run per click, closes #693 2014-03-06 15:16:49 -06:00
Adam Bradley
c99427aa92 fix(history): Separate histories and views, clear other views in clearHistory(), closes #724 2014-03-06 10:58:33 -06:00
Adam Bradley
44b31e1887 fix(actionsheet): Fix slide-up animation, closes #713 2014-03-05 16:07:59 -06:00
Adam Bradley
b593cf1be6 fix(modal): Improve slide-up/down animations, remove flickers 2014-03-04 16:44:24 -06:00
Max Lynch
1b096a4251 fix(ionContent) - Fixed embedded object click. Fixes #723 2014-03-04 13:35:10 -06:00
Andy Joslin
38bd17ea2d test(ionInfiniteScroll): remove unused code 2014-03-04 11:05:41 -07:00
flmu
3715bfcea7 refactor(ionInfiniteScroll): make it primarily use own attrs, add tests 2014-03-04 11:04:05 -07:00
Max Lynch
d58c9560c0 Travis! Don't die on me! 2014-03-03 11:50:01 -06:00
Max Lynch
739292d519 Fixed click event for PhantomJS 2014-03-03 11:34:04 -06:00
Max Lynch
9ef52edb26 Added tests for toggle 2014-03-03 11:17:00 -06:00
Max Lynch
618bbcb084 Removed iit on unit test 2014-03-01 15:55:36 -06:00
Max Lynch
e538fa77c9 Draggable slider working 2014-03-01 15:52:47 -06:00
Adam Bradley
a0d60d5228 fix(sideMenu): Fix flashing when closing right side menu, closes #556 2014-03-01 00:58:46 -06:00
Tim Lancina
fa05f4b2ab watchCollection on right- and leftButtons to align headerBar title 2014-02-28 11:26:38 -06:00
Tim Lancina
4a3f75514d fine travis, let's try waiting longer 2014-02-27 16:43:35 -06:00
Tim Lancina
6754a83a6a fix headerBar title align 2014-02-27 16:32:08 -06:00
Andy Joslin
d9f2c9f70e test(tabbar): remove ddescribe 2014-02-26 16:15:17 -05:00
Andy Joslin
bcca397c39 fix(ionTabBar): fix iconOn and iconOff being wrong 2014-02-26 16:09:34 -05:00
Andy Joslin
7b0716c23c feat(ionInfiniteScroll): use event system
Fixes #661.

BREAKING CHANGE: The binding for ionInfiniteScroll has changed, as well
as how you finish it.

If you had this code before:

```html
<ion-content on-infinite-scroll="doSomething"></ion-content>
```
```js
function MyCtrl($scope) {
  $scope.doSomething = function(scrollDoneCallback) {
    doSomething();
    scrollDoneCallback();
  };
}
```js

Now, your code should look like this:

```html
<ion-content on-infinite-scroll="doSomething()"></ion-content>
```
``js
function MyCtrl($scope) {
  $scope.doSomething = function() {
    doSomething();
    $scope.$broadcast('scroll.infiniteScrollComplete');
  };
}
```
2014-02-26 13:58:47 -05:00
Adam Bradley
cee42e3bc7 back button test fixes 2014-02-26 11:49:52 -06:00
Andy Joslin
f6ec6a3c89 fix(slideBox): make does-continue attribute work continuously
Closes #575
2014-02-26 08:47:12 -05:00
Andy Joslin
8354d42b4b feat(ionNavAnimation): <a href="#/page" ion-nav-animation="slide-in-up"> 2014-02-26 08:40:02 -05:00
Adam Bradley
7deefe1ddb fix(back-button): Fade in/out back button instead of animating left/right, closes #624 2014-02-25 13:03:51 -06:00
Andy Joslin
c4549bae4f refactor(tabs): dont pass href attribute to ionTabNav 2014-02-25 12:32:58 -05:00
Andy Joslin
3419e40e52 refactor(tabs): dont show icon if no icon defined 2014-02-25 12:04:58 -05:00
Andy Joslin
b406305b19 refactor(ionicContent): use $-prefix for onRefresh and onScroll events
Closes #675
2014-02-25 11:18:25 -05:00
Andy Joslin
0f1b6f47b8 fix(ionTabs): cleanup and fix many issues
Closes #597. Fixes #634. Fixes #334. Fixes #175. Fixes #646. Closes #647.
2014-02-25 10:54:41 -05:00