Commit Graph

483 Commits

Author SHA1 Message Date
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
78206d0e7c fix(navView): _getView renamed to _getViewById, closes #736 2014-03-06 11:24:46 -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
flmu
3715bfcea7 refactor(ionInfiniteScroll): make it primarily use own attrs, add tests 2014-03-04 11:04:05 -07:00
Adam Bradley
ec6c4ded2a only animate title change if they're different 2014-03-03 15:28:05 -06:00
Max Lynch
e538fa77c9 Draggable slider working 2014-03-01 15:52:47 -06:00
Adam Bradley
0c5c675164 fix(sideMenu): Close side-menu if open and content tapped, closes #648 2014-02-28 23:23:24 -06:00
Adam Bradley
159e0b98b1 rename ionNavAnimation to ionicNavAnimation, closes #685 2014-02-28 22:42:18 -06:00
Tim Lancina
fa05f4b2ab watchCollection on right- and leftButtons to align headerBar title 2014-02-28 11:26:38 -06:00
Andy Joslin
ce5220d184 chore: test commit 2014-02-26 16:44:23 -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
Andy Joslin
997aec8660 docs(ionContent): add doc comments 2014-02-26 13:56:53 -05:00
Adam Bradley
7ff6f0a897 go back to just show/hide back-button for now 2014-02-26 11:38:49 -06:00
Andy Joslin
12f48bb90f refactor(ionicTemplateLoader): make shorter and simpler
Closes #85
2014-02-26 08:52:56 -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
bdcd6bb15f refactor(tabs): preventDefault when anchor is clicked 2014-02-25 12:27:04 -05:00
Andy Joslin
3419e40e52 refactor(tabs): dont show icon if no icon defined 2014-02-25 12:04:58 -05:00
Andy Joslin
bc491b9bd3 style(ionTab): remove space before closing bracket in ionTabNav 2014-02-25 11:24:56 -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
flmu
1702f5c916 fix(ionContent): Use new name to find ion-infinite-scroll element 2014-02-25 16:08:31 +01:00
Andy Joslin
49e0dac999 feat(ionContent): use child scope instead of isolate scope
Adds new '$ionicBind' service, which takes an object containing
binding definitions (similar to angular directive isolate scope
definition).  Allows binding of any directive attribute & expressions
from a scope, letting us do normal attribute -> scope binding
without having to create isolate scopes.

Closes #555. Closes #669
2014-02-24 11:11:03 -05:00
Andy Joslin
991d3cfda1 fix(ionSideMenu): use manual transclude instead of ngTransclude
Fixes #666
2014-02-24 06:53:28 -05:00
Adam Bradley
1a0213e250 jshint '===' to compare with '0' fix 2014-02-23 21:27:57 -06:00
Adam Bradley
8ef8957744 fix right side menu to open 2014-02-23 20:58:04 -06:00
Adam Bradley
1503cc7213 fix(actionsheet): Actionsheet in modal has pointer-events enabled, closes #660 2014-02-22 21:22:35 -06:00
Emanuel Kluge
9e942f894b fix(ionicScrollDelegate): do not error if no scrollTop/Left values
Closes #659
2014-02-21 13:35:40 -05:00
Andy Joslin
465ea76969 fix(navBar): animations, hide back button, no flicker
Closes #653
2014-02-21 12:45:27 -05:00
Adam Bradley
f0faae1657 fix(tabs): Double tapping a tab would set the wrong view history, closes #656 2014-02-21 11:35:48 -06:00
Adam Bradley
2494b5f988 fix(ionPrefix): disableRegisterByTagName updated w/ ion- prefix for correct view history 2014-02-21 10:56:25 -06:00
Adam Bradley
1d3b518289 fix iconOn/iconOff showing in tabs 2014-02-21 09:56:42 -06:00
Adam Bradley
5de0f15e1d add icon class to each icon element in ionTabControllerItem 2014-02-21 09:00:17 -06:00
Adam Bradley
c8292c3267 use .view instead of .pane, for no translate3d, for tab directive 2014-02-20 22:29:02 -06:00
Adam Bradley
356afdf04f sideMenu parent to use .view instead of .pane so translate3d is not applied 2014-02-20 16:50:01 -06:00
Adam Bradley
07092f009c fix(sideMenu): remove translate3d when not needed, close #636 2014-02-20 16:33:40 -06:00
Adam Bradley
67722343dd use span instead of i for tab badges, closes #552 2014-02-20 14:43:22 -06:00
Max Lynch
89ec1b954e fix(htmlSanitize) - Added ngSanitize back, fixes #641 2014-02-20 09:48:55 -08:00
Max Lynch
02365e0fe3 Fixed #642
Added polyfill for transforms
2014-02-19 21:13:38 -08:00
Adam Bradley
a5471aeeb5 change classList fallback for multiple args 2014-02-18 22:58:21 -06:00
Adam Bradley
0421b7b450 Minimal classList polyfill added 2014-02-18 21:54:15 -06:00
Adam Bradley
42f39bbf3c remove two classNames in one call 2014-02-18 20:34:12 -06:00
Andy Joslin
2c39a21498 feat(ionic): prefix all directives with ion-
BREAKING CHANGE: All directives are now prefixed with `ion-`.

For any directive you use, add the ionic prefix.

For example, change this HTML:

```html
<tabs>
  <tab title="home" href="/tab/home">
    <content>Hello!</content>
  </tab>
</tabs>
```

To this HTML:

```
<ion-tabs>
  <ion-tab title="home" href="/tab/home">
    <ion-content>Hello!</ion-content>
  </ion-tab>
</ion-tabs>
```
2014-02-18 16:13:00 -05:00