{"action":"created","comment":{"url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/comments/191083880","pull_request_review_id":123590593,"id":191083880,"diff_hunk":"@@ -32,23 +32,22 @@ If you need to visualize one or more list items differently than the rest, you c\n   </v-template>\n \n   <v-template if=\"$odd\">\n-    <!-- For items with an odd index, shows the label in red. -->\n+    <!-- Для элементов с нечетным индексом отображаем красный текст. -->\n     <Label :text=\"item.text\" color=\"red\" />\n   </v-template>\n </ListView>\n ```\n+Когда вы создаете условные конструкции для `<v-template>`, вы можете использовать любое валидное JavaScript-выражение или любую из следующих вспомогательных функций(helpers):\n \n-When you create conditions for `<v-template>`, you can use any valid JavaScript expression or any of the following helpers:\n+* `$index`&mdash; индекс (index) текущего элемента\n+* `$even`&mdash;`true`, если индекс текущего элементы четный\n+* `$odd`&mdash;`true`, если индекс текущего элементы четный\n \n-* `$index`&mdash; the index of the current item\n-* `$even`&mdash;`true` if the index of the current item is even\n-* `$odd`&mdash;`true` if the index of the current item is odd\n+## Важное примечание о `v-for`\n \n-## An important note about `v-for`\n+`<ListView>` не перебирает элементы списка, как вы ожидаете, если используете [`v-for`](https://ru.vuejs.org/v2/guide/list.html#%D0%9E%D1%82%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-%D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%D0%B0-%D1%8D%D0%BB%D0%B5%D0%BC%D0%B5%D0%BD%D1%82%D0%BE%D0%B2-%D1%81-%D0%BF%D0%BE%D0%BC%D0%BE%D1%89%D1%8C%D1%8E-v-for). Вместо этого `<ListView>` только создает необдходимые представления для отображения текущих видимых элементов на экране и переиспользует представления, которые уже скрыты с экрана во время прокрутки. Этот концеп называется _view recycling_ и в основном используется в мобильных приложениях для улучшения производительности.","path":"content/docs/ru/elements/components/list-view.md","position":58,"original_position":58,"commit_id":"905771cce8f71a5c2d0b6f2b0356fbb908bc032f","original_commit_id":"905771cce8f71a5c2d0b6f2b0356fbb908bc032f","user":{"login":"lex111","id":4408379,"avatar_url":"https://avatars2.githubusercontent.com/u/4408379?v=4","gravatar_id":"","url":"https://api.github.com/users/lex111","html_url":"https://github.com/lex111","followers_url":"https://api.github.com/users/lex111/followers","following_url":"https://api.github.com/users/lex111/following{/other_user}","gists_url":"https://api.github.com/users/lex111/gists{/gist_id}","starred_url":"https://api.github.com/users/lex111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lex111/subscriptions","organizations_url":"https://api.github.com/users/lex111/orgs","repos_url":"https://api.github.com/users/lex111/repos","events_url":"https://api.github.com/users/lex111/events{/privacy}","received_events_url":"https://api.github.com/users/lex111/received_events","type":"User","site_admin":false},"body":"> концеп\r\n\r\nОпечатка","created_at":"2018-05-27T18:01:48Z","updated_at":"2018-05-27T18:15:24Z","html_url":"https://github.com/nativescript-vue/nativescript-vue.org/pull/139#discussion_r191083880","pull_request_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/139","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/comments/191083880"},"html":{"href":"https://github.com/nativescript-vue/nativescript-vue.org/pull/139#discussion_r191083880"},"pull_request":{"href":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/139"}},"in_reply_to_id":191083868},"pull_request":{"url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/139","id":189766750,"html_url":"https://github.com/nativescript-vue/nativescript-vue.org/pull/139","diff_url":"https://github.com/nativescript-vue/nativescript-vue.org/pull/139.diff","patch_url":"https://github.com/nativescript-vue/nativescript-vue.org/pull/139.patch","issue_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/issues/139","number":139,"state":"open","locked":false,"title":"[WIP] Ru. action-bar, components","user":{"login":"sn0wil","id":31205951,"avatar_url":"https://avatars1.githubusercontent.com/u/31205951?v=4","gravatar_id":"","url":"https://api.github.com/users/sn0wil","html_url":"https://github.com/sn0wil","followers_url":"https://api.github.com/users/sn0wil/followers","following_url":"https://api.github.com/users/sn0wil/following{/other_user}","gists_url":"https://api.github.com/users/sn0wil/gists{/gist_id}","starred_url":"https://api.github.com/users/sn0wil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sn0wil/subscriptions","organizations_url":"https://api.github.com/users/sn0wil/orgs","repos_url":"https://api.github.com/users/sn0wil/repos","events_url":"https://api.github.com/users/sn0wil/events{/privacy}","received_events_url":"https://api.github.com/users/sn0wil/received_events","type":"User","site_admin":false},"body":"There are need to translate segment-bar .. text-fied too. Created PR for some comments\r\n@lex111 ","created_at":"2018-05-22T19:24:02Z","updated_at":"2018-05-27T18:15:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e19562b3599d0faef8f89c2510c95dbe603f53e0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":943955404,"url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/labels/WIP","name":"WIP","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/139/commits","review_comments_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/139/comments","review_comment_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/issues/139/comments","statuses_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/statuses/905771cce8f71a5c2d0b6f2b0356fbb908bc032f","head":{"label":"sn0wil:ru_action-bar_components","ref":"ru_action-bar_components","sha":"905771cce8f71a5c2d0b6f2b0356fbb908bc032f","user":{"login":"sn0wil","id":31205951,"avatar_url":"https://avatars1.githubusercontent.com/u/31205951?v=4","gravatar_id":"","url":"https://api.github.com/users/sn0wil","html_url":"https://github.com/sn0wil","followers_url":"https://api.github.com/users/sn0wil/followers","following_url":"https://api.github.com/users/sn0wil/following{/other_user}","gists_url":"https://api.github.com/users/sn0wil/gists{/gist_id}","starred_url":"https://api.github.com/users/sn0wil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sn0wil/subscriptions","organizations_url":"https://api.github.com/users/sn0wil/orgs","repos_url":"https://api.github.com/users/sn0wil/repos","events_url":"https://api.github.com/users/sn0wil/events{/privacy}","received_events_url":"https://api.github.com/users/sn0wil/received_events","type":"User","site_admin":false},"repo":{"id":132771549,"name":"nativescript-vue.org","full_name":"sn0wil/nativescript-vue.org","owner":{"login":"sn0wil","id":31205951,"avatar_url":"https://avatars1.githubusercontent.com/u/31205951?v=4","gravatar_id":"","url":"https://api.github.com/users/sn0wil","html_url":"https://github.com/sn0wil","followers_url":"https://api.github.com/users/sn0wil/followers","following_url":"https://api.github.com/users/sn0wil/following{/other_user}","gists_url":"https://api.github.com/users/sn0wil/gists{/gist_id}","starred_url":"https://api.github.com/users/sn0wil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sn0wil/subscriptions","organizations_url":"https://api.github.com/users/sn0wil/orgs","repos_url":"https://api.github.com/users/sn0wil/repos","events_url":"https://api.github.com/users/sn0wil/events{/privacy}","received_events_url":"https://api.github.com/users/sn0wil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sn0wil/nativescript-vue.org","description":"NativeScript-Vue website","fork":true,"url":"https://api.github.com/repos/sn0wil/nativescript-vue.org","forks_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/forks","keys_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/teams","hooks_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/hooks","issue_events_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/issues/events{/number}","events_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/events","assignees_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/assignees{/user}","branches_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/branches{/branch}","tags_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/tags","blobs_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/statuses/{sha}","languages_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/languages","stargazers_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/stargazers","contributors_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/contributors","subscribers_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/subscribers","subscription_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/subscription","commits_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/contents/{+path}","compare_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/merges","archive_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/downloads","issues_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/issues{/number}","pulls_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/pulls{/number}","milestones_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/milestones{/number}","notifications_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/labels{/name}","releases_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/releases{/id}","deployments_url":"https://api.github.com/repos/sn0wil/nativescript-vue.org/deployments","created_at":"2018-05-09T14:47:06Z","updated_at":"2018-05-27T16:48:09Z","pushed_at":"2018-05-27T16:48:07Z","git_url":"git://github.com/sn0wil/nativescript-vue.org.git","ssh_url":"git@github.com:sn0wil/nativescript-vue.org.git","clone_url":"https://github.com/sn0wil/nativescript-vue.org.git","svn_url":"https://github.com/sn0wil/nativescript-vue.org","homepage":"https://nativescript-vue.org/","size":1688,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nativescript-vue:master","ref":"master","sha":"fb15e33a4f10e0f8a6dbac362b5e6ea55d55a0e7","user":{"login":"nativescript-vue","id":32681046,"avatar_url":"https://avatars2.githubusercontent.com/u/32681046?v=4","gravatar_id":"","url":"https://api.github.com/users/nativescript-vue","html_url":"https://github.com/nativescript-vue","followers_url":"https://api.github.com/users/nativescript-vue/followers","following_url":"https://api.github.com/users/nativescript-vue/following{/other_user}","gists_url":"https://api.github.com/users/nativescript-vue/gists{/gist_id}","starred_url":"https://api.github.com/users/nativescript-vue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nativescript-vue/subscriptions","organizations_url":"https://api.github.com/users/nativescript-vue/orgs","repos_url":"https://api.github.com/users/nativescript-vue/repos","events_url":"https://api.github.com/users/nativescript-vue/events{/privacy}","received_events_url":"https://api.github.com/users/nativescript-vue/received_events","type":"Organization","site_admin":false},"repo":{"id":115718512,"name":"nativescript-vue.org","full_name":"nativescript-vue/nativescript-vue.org","owner":{"login":"nativescript-vue","id":32681046,"avatar_url":"https://avatars2.githubusercontent.com/u/32681046?v=4","gravatar_id":"","url":"https://api.github.com/users/nativescript-vue","html_url":"https://github.com/nativescript-vue","followers_url":"https://api.github.com/users/nativescript-vue/followers","following_url":"https://api.github.com/users/nativescript-vue/following{/other_user}","gists_url":"https://api.github.com/users/nativescript-vue/gists{/gist_id}","starred_url":"https://api.github.com/users/nativescript-vue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nativescript-vue/subscriptions","organizations_url":"https://api.github.com/users/nativescript-vue/orgs","repos_url":"https://api.github.com/users/nativescript-vue/repos","events_url":"https://api.github.com/users/nativescript-vue/events{/privacy}","received_events_url":"https://api.github.com/users/nativescript-vue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nativescript-vue/nativescript-vue.org","description":"NativeScript-Vue website","fork":false,"url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org","forks_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/forks","keys_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/teams","hooks_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/hooks","issue_events_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/issues/events{/number}","events_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/events","assignees_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/assignees{/user}","branches_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/branches{/branch}","tags_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/tags","blobs_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/statuses/{sha}","languages_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/languages","stargazers_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/stargazers","contributors_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/contributors","subscribers_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/subscribers","subscription_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/subscription","commits_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/contents/{+path}","compare_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/merges","archive_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/downloads","issues_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/issues{/number}","pulls_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls{/number}","milestones_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/milestones{/number}","notifications_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/labels{/name}","releases_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/releases{/id}","deployments_url":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/deployments","created_at":"2017-12-29T11:52:26Z","updated_at":"2018-05-26T09:01:24Z","pushed_at":"2018-05-27T18:12:35Z","git_url":"git://github.com/nativescript-vue/nativescript-vue.org.git","ssh_url":"git@github.com:nativescript-vue/nativescript-vue.org.git","clone_url":"https://github.com/nativescript-vue/nativescript-vue.org.git","svn_url":"https://github.com/nativescript-vue/nativescript-vue.org","homepage":"https://nativescript-vue.org/","size":1639,"stargazers_count":30,"watchers_count":30,"language":"CSS","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"archived":false,"open_issues_count":25,"license":null,"forks":44,"open_issues":25,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/139"},"html":{"href":"https://github.com/nativescript-vue/nativescript-vue.org/pull/139"},"issue":{"href":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/issues/139"},"comments":{"href":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/nativescript-vue/nativescript-vue.org/statuses/905771cce8f71a5c2d0b6f2b0356fbb908bc032f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"lex111"}}