Commit Graph

55 Commits

Author SHA1 Message Date
Andy Joslin
730a33b9c3 feat($ionicBackdrop): add backdrop show/hide service
Closes #1084
2014-04-11 09:07:09 -06:00
Andy Joslin
986dbac893 refactor(ionList): more expressive, declarative (breaking change)
Closes #1024.

BREAKING CHANGE: ion-list syntax has changed in favor of simplicity &
flexibility.

Relevant documentation:
[ionList](http://ionicframework.com/docs/api/directive/ionList),
[ionItem](http://ionicframework.com/docs/api/directive/ionItem),
[ionOptionButton](http://ionicframework.com/docs/api/directive/ionOptionButton),
[ionReorderButton](http://ionicframework.com/docs/api/directive/ionReorderButton),
[ionDeleteButton](http://ionicframework.com/docs/api/directive/ionDeleteButton),
[$ionicListDelegate](http://ionicframework.com/docs/api/service/$ionicListDelegate).

To migrate, change your code from this:

```html
<ion-list option-buttons="[{text:'hello',type:'button-positive',onTap:tap()}]"
          on-delete="onDelete(el)"
          delete-icon="ion-minus-circled"
          can-delete="true"
          show-delete="shouldShowDelete"
          on-reorder="onReorder(el, startIndex, toIndex)"
          reorder-icon="ion-navicon"
          can-reorder="true"
          show-reorder="shouldShowReorder">
  <ion-item ng-repeat="item in items">
    {{item}}
  </ion-item>
</ion-list>
```

To this:

```html
<ion-list show-delete="shouldShowDelete"
          show-reorder="shouldShowReorder">
  <ion-item ng-repeat="item in items">
    {{item}}
    <ion-delete-button class="ion-minus-circled"
                       ng-click="onDelete(item)">
    </ion-delete-button>
    <ion-reorder-button class="ion-navicon"
                       ng-click="onReorder(item, $fromIndex, $toIndex)">
    </ion-reorder-button>
    <ion-option-button class="button-positive" ng-click="tap()">
      Hello
    </ion-option-button>
  </ion-item>
</ion-list>
```
2014-04-04 10:12:16 -06:00
Adam Bradley
a93e178989 site search index updates 2014-03-27 12:49:21 -05:00
Andy Joslin
4a7d660788 refactor(docs): simplify hugely, leave more to ionic-site 2014-03-26 19:07:50 -06:00
Andy Joslin
025a3b0878 chore(docs): stop generating _layouts/api_docs 2014-03-26 09:26:53 -06:00
Andy Joslin
40e50e0c0a docs: remove extra index page 2014-03-26 08:10:37 -06:00
Adam Bradley
6c07cd75ca temp update docs_api template before removing from the build, #901 2014-03-25 23:22:15 -05:00
Andy Joslin
1e8f51425a chore(travis): enable docs task 2014-03-25 14:08:38 -06:00
Andy Joslin
2bfd32004c docs(): add @delegate tag 2014-03-25 11:05:07 -06:00
Andy Joslin
83f4776f53 chore: remove animation & type attributes, standard controller names 2014-03-18 14:54:21 -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
Andy Joslin
5e865962b0 chore(docs): make left menu manually generated 2014-03-17 10:25:40 -06:00
Andy Joslin
8619d5e8ec docs(): add groups by topic 2014-03-14 15:14:16 -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
c912832b0b docs: make it rename old version when updating 2014-03-13 20:15:49 -06:00
Andy Joslin
6325d37a86 chore(docs): build to latest, mark latest in dropdown, remove /ionic 2014-03-13 20:00:36 -06:00
Adam Bradley
89ec82aa1e docs-api layout updated 2014-03-13 15:13:42 -05:00
Adam Bradley
53a426f802 Merge branch 'master' of https://github.com/driftyco/ionic
Conflicts:
	docs/templates/lib/yaml.template.html
2014-03-13 13:56:22 -05:00
Adam Bradley
4d8ceca2d4 rename docs_0.9.0 layout to docs_api, active variable no longer needed 2014-03-13 13:54:02 -05:00
Andy Joslin
7f7672d8c3 chore(travis): update node version 2014-03-13 09:31:29 -06:00
Andy Joslin
8c0b8c5b01 docs: make stable be nightly if testing 2014-03-13 09:19:32 -06:00
Andy Joslin
115223f2d0 docs: make sure Javascript links to latest stable by default 2014-03-13 09:18:47 -06:00
Adam Bradley
fa5ad51048 update docs_api layout 2014-03-13 10:03:38 -05:00
Andy Joslin
6aa35f469a Update README.md 2014-03-13 07:47:13 -06:00
Andy Joslin
98483dac7a docs: fix api.template 2014-03-13 07:32:34 -06:00
Andy Joslin
cf05c33ed9 Update README.md 2014-03-13 07:29:46 -06:00
Andy Joslin
12864622fd Update README.md 2014-03-13 07:28:30 -06:00
Andy Joslin
962ebf817a docs: add README explaining templates 2014-03-13 07:27:58 -06:00
Andy Joslin
b26be092f4 docs: simplify templates more 2014-03-13 07:25:37 -06:00
Andy Joslin
ffc48c02f7 docs: fix problems with multiple versions 2014-03-12 17:23:37 -06:00
Andy Joslin
4813fd0bb9 docs: allow multiple versions 2014-03-12 15:55:50 -06:00
Andy Joslin
cadd39a32a docs(object-properties): make object properties look better 2014-03-11 13:59:29 -06:00
Andy Joslin
e9625ded9d docs: add services, utilities 2014-03-11 13:02:36 -06:00
Andy Joslin
dc22bd51b2 docs: make link tag-def work better 2014-03-10 21:16:09 -06:00
Andy Joslin
720f5aa7ff docs(layout): dont position:fixed, javascript api is too long 2014-03-10 21:16:09 -06:00
Andy Joslin
d49e39a541 docs(): add controller tag, controller section 2014-03-10 21:16:08 -06:00
Andy Joslin
9c7f9938d2 docs(parent): make parent-tag look better 2014-03-10 14:27:38 -06:00
Andy Joslin
7e89ce0dcd docs: fixes for parent, link tags 2014-03-10 12:24:08 -06:00
Andy Joslin
ce48353261 docs: add @parent directiveName tag for child directive comments 2014-03-10 12:00:24 -06:00
Andy Joslin
c21c035790 chore(dgeni): add codepen tag 2014-03-10 10:16:58 -06:00
Andy Joslin
c07846a49d docs(README): add instructions for testing docs 2014-03-10 09:32:24 -06:00
Andy Joslin
c79a7e52d6 chore(docs): update dependencies 2014-03-10 09:32:24 -06:00
Andy Joslin
a15eaee78a chore(docs): make service documentation look good 2014-03-08 20:44:57 -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
Max Lynch
f47bddb2ae Deleted docs folder 2013-10-13 19:06:59 -05:00
Max Lynch
56f7ee5c9c Messing with hack example of TabBarController and Test 2013-09-08 01:35:54 -05:00
Max Lynch
4f7e87bfcc Random angular stuff and testing things 2013-09-04 17:00:29 -05:00
Max Lynch
7794ce1a7a More doc shit 2013-09-03 17:09:23 -05:00