{"action":"created","comment":{"url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/comments/23089656","id":23089656,"diff_hunk":"@@ -203,6 +203,117 @@ This is where `iron:layout` comes into play. Our `ionNavBar` component exposes t\n \n TODO\n \n+## Lists\n+\n+### ionList\n+\n+To make an Ionic style list wrap your content in a `ionList` block template. \n+\n+```\n+{{#ionContent}}\n+  {{#ionList}}\n+    {{#each item}}\n+      {{#ionItem path='item.detail' urlFor=true query=itemQuery iconRight=true}}\n+        <h2>{{title}}</h2>\n+        <p>{{subTitle}}</p>\n+        {{> ionIcon icon=\"ios-arrow-right\" }}\n+      {{/ionItem}}\n+    {{/each}}\n+  {{/ionList}}\n+{{/ionContent}}\n+```\n+\n+### ionItem\n+To get a nice Ionic styled list item wrap your content in a `ionItem` block template. `ionItem` can be a list, form, links, etc. It is a very flexible component. I would suggest taking some time to discover all it can do. Below are some examples.\n+\n+#### Avatar/Icon/Button Example\n+\n+```\n+{{#ionList}}\n+  {{#each times}}\n+    {{#ionItem buttonRight=true avatar=true}}\n+            <img src=\"https://randomuser.me/api/portraits/thumb/men/27.jpg\">\n+            <h2>John Smith</h2>\n+            <p>(555) 555-1212</p>\n+            <button class=\"button button-positive\">\n+              {{> ionIcon icon=\"ios-telephone\"}}\n+            </button>\n+        {{/ionItem}}\n+    {{/each}}\n+{{/ionList}}\n+```\n+\n+#### Path and Link Examples\n+\n+Meteor uses Iron:Router. Refer to Iron:Router's [pathFor](https://github.com/EventedMind/iron-router/blob/devel/Guide.md#pathfor) documentation on how to call a route in an `ionItem`. If you want to output a full URL (similar to IronRouter's [urlFor](https://github.com/EventedMind/iron-router/blob/devel/Guide.md#urlfor)) add `urlFor=true`.\n+\n+**Static href**\n+\n+```\n+{{! href=\"https://google.com\" }}\n+{{#ionList}}\n+  {{#each item}}\n+      {{#ionItem href=\"https://google.com\" iconRight=true}}\n+          <h2>{{title}}</h2>\n+          <p>{{subTitle}}</p>\n+          {{> ionIcon icon=\"ios-arrow-right\" }}\n+        {{/ionItem}}\n+    {{/each}}\n+{{/ionList}}\n+```\n+\n+**Passed path from parent**\n+\n+```\n+{{! href=\"/products/zcZmWRjJztydnCJer\" }}\n+{{#ionList}}\n+        {{#each products}}\n+      {{#with product}}\n+          {{#ionItem product=this path=\"products.show\" iconLeft=true iconRight=true}}\n+              {{> _voteButton}}\n+              <h2>{{name}}</h2>\n+              <p>{{tagline}}</p>\n+              <span class=\"comments-count\">\n+              {{numberOfComments}}\n+              {{> ionIcon icon=\"ios-chatbubble\" }}\n+              </span>\n+          {{/ionItem}}\n+        {{/with}}\n+      {{/each}}\n+{{/ionList}}\n+```\n+\n+**IronRouter's pathFor href**\n+\n+```\n+{{! href=\"/item/details/jkh34k234h?parentId=hkjh45j43k3#reviews\" }}\n+{{#ionList}}\n+  {{#each item}}\n+      {{#ionItem path='item.detail' _id:this._id query=itemQuery hash=\"reviews\" iconRight=true}}\n+          <h2>{{title}}</h2>\n+          <p>{{subTitle}}</p>\n+          {{> ionIcon icon=\"ios-arrow-right\" }}\n+        {{/ionItem}}\n+    {{/each}}\n+{{/ionList}}\n+```\n+\n+**IronRouter's urlFor href**\n+\n+```\n+{{! href=\"http://www.example.com/item/details?parentId=hkjh45j43k3\" }}\n+{{#ionList}}\n+  {{#each item}}\n+      {{#ionItem path='item.detail' urlFor=true query=itemQuery iconRight=true}}","path":"GUIDE.md","position":105,"original_position":105,"commit_id":"aceb6f75e9c755ae33fb7cc5d4606a970dfefbfb","original_commit_id":"aceb6f75e9c755ae33fb7cc5d4606a970dfefbfb","user":{"login":"nickw","id":3907,"avatar_url":"https://avatars.githubusercontent.com/u/3907?v=3","gravatar_id":"","url":"https://api.github.com/users/nickw","html_url":"https://github.com/nickw","followers_url":"https://api.github.com/users/nickw/followers","following_url":"https://api.github.com/users/nickw/following{/other_user}","gists_url":"https://api.github.com/users/nickw/gists{/gist_id}","starred_url":"https://api.github.com/users/nickw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickw/subscriptions","organizations_url":"https://api.github.com/users/nickw/orgs","repos_url":"https://api.github.com/users/nickw/repos","events_url":"https://api.github.com/users/nickw/events{/privacy}","received_events_url":"https://api.github.com/users/nickw/received_events","type":"User","site_admin":false},"body":"Well I think it's the \"option\" concept that is bothering me, and I'm hoping we can choose the correct \"option\" for the user rather than forcing them to:\r\n\r\n`path='item.detail'` -> use `pathFor`\r\nor:\r\n`url='item.detail'` -> use `urlFor`\r\n\r\nDoes that make sense?","created_at":"2015-01-16T16:13:39Z","updated_at":"2015-01-16T16:13:39Z","html_url":"https://github.com/meteoric/meteor-ionic/pull/26#discussion_r23089656","pull_request_url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/comments/23089656"},"html":{"href":"https://github.com/meteoric/meteor-ionic/pull/26#discussion_r23089656"},"pull_request":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26","id":27476372,"html_url":"https://github.com/meteoric/meteor-ionic/pull/26","diff_url":"https://github.com/meteoric/meteor-ionic/pull/26.diff","patch_url":"https://github.com/meteoric/meteor-ionic/pull/26.patch","issue_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/26","number":26,"state":"open","locked":false,"title":"Added pathFor and urlFor IR route options to ionItem, resolves #25","user":{"login":"benstr","id":5460584,"avatar_url":"https://avatars.githubusercontent.com/u/5460584?v=3","gravatar_id":"","url":"https://api.github.com/users/benstr","html_url":"https://github.com/benstr","followers_url":"https://api.github.com/users/benstr/followers","following_url":"https://api.github.com/users/benstr/following{/other_user}","gists_url":"https://api.github.com/users/benstr/gists{/gist_id}","starred_url":"https://api.github.com/users/benstr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benstr/subscriptions","organizations_url":"https://api.github.com/users/benstr/orgs","repos_url":"https://api.github.com/users/benstr/repos","events_url":"https://api.github.com/users/benstr/events{/privacy}","received_events_url":"https://api.github.com/users/benstr/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-16T00:51:52Z","updated_at":"2015-01-16T16:13:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c22c46a88feb4d5bbcd90cb656bdac444e365799","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26/commits","review_comments_url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26/comments","review_comment_url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/comments/{number}","comments_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/26/comments","statuses_url":"https://api.github.com/repos/meteoric/meteor-ionic/statuses/aceb6f75e9c755ae33fb7cc5d4606a970dfefbfb","head":{"label":"benstr:master","ref":"master","sha":"aceb6f75e9c755ae33fb7cc5d4606a970dfefbfb","user":{"login":"benstr","id":5460584,"avatar_url":"https://avatars.githubusercontent.com/u/5460584?v=3","gravatar_id":"","url":"https://api.github.com/users/benstr","html_url":"https://github.com/benstr","followers_url":"https://api.github.com/users/benstr/followers","following_url":"https://api.github.com/users/benstr/following{/other_user}","gists_url":"https://api.github.com/users/benstr/gists{/gist_id}","starred_url":"https://api.github.com/users/benstr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benstr/subscriptions","organizations_url":"https://api.github.com/users/benstr/orgs","repos_url":"https://api.github.com/users/benstr/repos","events_url":"https://api.github.com/users/benstr/events{/privacy}","received_events_url":"https://api.github.com/users/benstr/received_events","type":"User","site_admin":false},"repo":{"id":28939082,"name":"meteor-ionic","full_name":"benstr/meteor-ionic","owner":{"login":"benstr","id":5460584,"avatar_url":"https://avatars.githubusercontent.com/u/5460584?v=3","gravatar_id":"","url":"https://api.github.com/users/benstr","html_url":"https://github.com/benstr","followers_url":"https://api.github.com/users/benstr/followers","following_url":"https://api.github.com/users/benstr/following{/other_user}","gists_url":"https://api.github.com/users/benstr/gists{/gist_id}","starred_url":"https://api.github.com/users/benstr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benstr/subscriptions","organizations_url":"https://api.github.com/users/benstr/orgs","repos_url":"https://api.github.com/users/benstr/repos","events_url":"https://api.github.com/users/benstr/events{/privacy}","received_events_url":"https://api.github.com/users/benstr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benstr/meteor-ionic","description":"Ionic components for Meteor. No Angular!","fork":true,"url":"https://api.github.com/repos/benstr/meteor-ionic","forks_url":"https://api.github.com/repos/benstr/meteor-ionic/forks","keys_url":"https://api.github.com/repos/benstr/meteor-ionic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benstr/meteor-ionic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benstr/meteor-ionic/teams","hooks_url":"https://api.github.com/repos/benstr/meteor-ionic/hooks","issue_events_url":"https://api.github.com/repos/benstr/meteor-ionic/issues/events{/number}","events_url":"https://api.github.com/repos/benstr/meteor-ionic/events","assignees_url":"https://api.github.com/repos/benstr/meteor-ionic/assignees{/user}","branches_url":"https://api.github.com/repos/benstr/meteor-ionic/branches{/branch}","tags_url":"https://api.github.com/repos/benstr/meteor-ionic/tags","blobs_url":"https://api.github.com/repos/benstr/meteor-ionic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benstr/meteor-ionic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benstr/meteor-ionic/git/refs{/sha}","trees_url":"https://api.github.com/repos/benstr/meteor-ionic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benstr/meteor-ionic/statuses/{sha}","languages_url":"https://api.github.com/repos/benstr/meteor-ionic/languages","stargazers_url":"https://api.github.com/repos/benstr/meteor-ionic/stargazers","contributors_url":"https://api.github.com/repos/benstr/meteor-ionic/contributors","subscribers_url":"https://api.github.com/repos/benstr/meteor-ionic/subscribers","subscription_url":"https://api.github.com/repos/benstr/meteor-ionic/subscription","commits_url":"https://api.github.com/repos/benstr/meteor-ionic/commits{/sha}","git_commits_url":"https://api.github.com/repos/benstr/meteor-ionic/git/commits{/sha}","comments_url":"https://api.github.com/repos/benstr/meteor-ionic/comments{/number}","issue_comment_url":"https://api.github.com/repos/benstr/meteor-ionic/issues/comments/{number}","contents_url":"https://api.github.com/repos/benstr/meteor-ionic/contents/{+path}","compare_url":"https://api.github.com/repos/benstr/meteor-ionic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benstr/meteor-ionic/merges","archive_url":"https://api.github.com/repos/benstr/meteor-ionic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benstr/meteor-ionic/downloads","issues_url":"https://api.github.com/repos/benstr/meteor-ionic/issues{/number}","pulls_url":"https://api.github.com/repos/benstr/meteor-ionic/pulls{/number}","milestones_url":"https://api.github.com/repos/benstr/meteor-ionic/milestones{/number}","notifications_url":"https://api.github.com/repos/benstr/meteor-ionic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benstr/meteor-ionic/labels{/name}","releases_url":"https://api.github.com/repos/benstr/meteor-ionic/releases{/id}","created_at":"2015-01-07T23:22:15Z","updated_at":"2015-01-16T15:58:04Z","pushed_at":"2015-01-16T15:58:04Z","git_url":"git://github.com/benstr/meteor-ionic.git","ssh_url":"git@github.com:benstr/meteor-ionic.git","clone_url":"https://github.com/benstr/meteor-ionic.git","svn_url":"https://github.com/benstr/meteor-ionic","homepage":"http://meteoric.github.io","size":382,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"meteoric:master","ref":"master","sha":"86b616ed62869bed9261732cbdc621af4124f364","user":{"login":"meteoric","id":10181524,"avatar_url":"https://avatars.githubusercontent.com/u/10181524?v=3","gravatar_id":"","url":"https://api.github.com/users/meteoric","html_url":"https://github.com/meteoric","followers_url":"https://api.github.com/users/meteoric/followers","following_url":"https://api.github.com/users/meteoric/following{/other_user}","gists_url":"https://api.github.com/users/meteoric/gists{/gist_id}","starred_url":"https://api.github.com/users/meteoric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteoric/subscriptions","organizations_url":"https://api.github.com/users/meteoric/orgs","repos_url":"https://api.github.com/users/meteoric/repos","events_url":"https://api.github.com/users/meteoric/events{/privacy}","received_events_url":"https://api.github.com/users/meteoric/received_events","type":"Organization","site_admin":false},"repo":{"id":28011613,"name":"meteor-ionic","full_name":"meteoric/meteor-ionic","owner":{"login":"meteoric","id":10181524,"avatar_url":"https://avatars.githubusercontent.com/u/10181524?v=3","gravatar_id":"","url":"https://api.github.com/users/meteoric","html_url":"https://github.com/meteoric","followers_url":"https://api.github.com/users/meteoric/followers","following_url":"https://api.github.com/users/meteoric/following{/other_user}","gists_url":"https://api.github.com/users/meteoric/gists{/gist_id}","starred_url":"https://api.github.com/users/meteoric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteoric/subscriptions","organizations_url":"https://api.github.com/users/meteoric/orgs","repos_url":"https://api.github.com/users/meteoric/repos","events_url":"https://api.github.com/users/meteoric/events{/privacy}","received_events_url":"https://api.github.com/users/meteoric/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/meteoric/meteor-ionic","description":"Ionic components for Meteor. No Angular!","fork":false,"url":"https://api.github.com/repos/meteoric/meteor-ionic","forks_url":"https://api.github.com/repos/meteoric/meteor-ionic/forks","keys_url":"https://api.github.com/repos/meteoric/meteor-ionic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meteoric/meteor-ionic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meteoric/meteor-ionic/teams","hooks_url":"https://api.github.com/repos/meteoric/meteor-ionic/hooks","issue_events_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/events{/number}","events_url":"https://api.github.com/repos/meteoric/meteor-ionic/events","assignees_url":"https://api.github.com/repos/meteoric/meteor-ionic/assignees{/user}","branches_url":"https://api.github.com/repos/meteoric/meteor-ionic/branches{/branch}","tags_url":"https://api.github.com/repos/meteoric/meteor-ionic/tags","blobs_url":"https://api.github.com/repos/meteoric/meteor-ionic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meteoric/meteor-ionic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meteoric/meteor-ionic/git/refs{/sha}","trees_url":"https://api.github.com/repos/meteoric/meteor-ionic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meteoric/meteor-ionic/statuses/{sha}","languages_url":"https://api.github.com/repos/meteoric/meteor-ionic/languages","stargazers_url":"https://api.github.com/repos/meteoric/meteor-ionic/stargazers","contributors_url":"https://api.github.com/repos/meteoric/meteor-ionic/contributors","subscribers_url":"https://api.github.com/repos/meteoric/meteor-ionic/subscribers","subscription_url":"https://api.github.com/repos/meteoric/meteor-ionic/subscription","commits_url":"https://api.github.com/repos/meteoric/meteor-ionic/commits{/sha}","git_commits_url":"https://api.github.com/repos/meteoric/meteor-ionic/git/commits{/sha}","comments_url":"https://api.github.com/repos/meteoric/meteor-ionic/comments{/number}","issue_comment_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues/comments/{number}","contents_url":"https://api.github.com/repos/meteoric/meteor-ionic/contents/{+path}","compare_url":"https://api.github.com/repos/meteoric/meteor-ionic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meteoric/meteor-ionic/merges","archive_url":"https://api.github.com/repos/meteoric/meteor-ionic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meteoric/meteor-ionic/downloads","issues_url":"https://api.github.com/repos/meteoric/meteor-ionic/issues{/number}","pulls_url":"https://api.github.com/repos/meteoric/meteor-ionic/pulls{/number}","milestones_url":"https://api.github.com/repos/meteoric/meteor-ionic/milestones{/number}","notifications_url":"https://api.github.com/repos/meteoric/meteor-ionic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meteoric/meteor-ionic/labels{/name}","releases_url":"https://api.github.com/repos/meteoric/meteor-ionic/releases{/id}","created_at":"2014-12-14T23:13:54Z","updated_at":"2015-01-16T12:55:50Z","pushed_at":"2015-01-15T16:29:18Z","git_url":"git://github.com/meteoric/meteor-ionic.git","ssh_url":"git@github.com:meteoric/meteor-ionic.git","clone_url":"https://github.com/meteoric/meteor-ionic.git","svn_url":"https://github.com/meteoric/meteor-ionic","homepage":"http://meteoric.github.io","size":419,"stargazers_count":302,"watchers_count":302,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":20,"forks":14,"open_issues":20,"watchers":302,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26"},"html":{"href":"https://github.com/meteoric/meteor-ionic/pull/26"},"issue":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/issues/26"},"comments":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/meteoric/meteor-ionic/statuses/aceb6f75e9c755ae33fb7cc5d4606a970dfefbfb"}}}}