8000 updated topic names/refs and contributors · vuejs/v2.vuejs.org@2a51148 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2a51148

Browse files
author
勾股
committed
updated topic names/refs and contributors
1 parent cc5be93 commit 2a51148

File tree

11 files changed

+24
-14
lines changed

11 files changed

+24
-14
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@ $ hexo server
1919
(首字母顺序排序)
2020

2121
* [@etanxing](https://github.com/etanxing)
22+
* [@fengliu222](https://github.com/fengliu222)
2223
* [@Garfielt](https://github.com/Garfielt)
24+
* [@getive](https://github.com/getive)
2325
* [@kunth](https://github.com/kunth)
2426
* [@luin](https://github.com/luin)
2527
* [@nkCoding](https://github.com/nkCoding)
28+
* [@skyline0705](https://github.com/skyline0705)
2629
* [@SoAanyip](https://github.com/SoAanyip)
27-
* [@XfLoops](https://github.com/XfLoops)
30+
* [@Suixinlei](https://github.com/Suixinlei)
31+
* [@titancat](http://github.com/titancat)
32+
* [@XfLoops](https://github.com/XfLoops)

source/api/directives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: 指令(Directive)
1+
title: 指令
22
type: api
33
order: 6
44
---
@@ -251,7 +251,7 @@ order: 6
251251

252252
### v-ref
253253

254-
为了让父级更加方便的访问子级,可以在父级注册一个子组件的引用。本指令只有与`v-component``v-repeat`一起才能使用。在它父级的`$`对象上可以访问组件的实例。例子在[child reference](../guide/components.html#Child_Reference).
254+
为了让父级更加方便的访问子级,可以在父级注册一个子组件的引用。本指令只有与`v-component``v-repeat`一起才能使用。在它父级的`$`对象上可以访问组件的实例。例子在[child reference](../guide/components.html#子组件引用).
255255

256256
当该指令与`v-repeat`一起使用时,`v-ref`的值将会是一个包含了所有子 Vue 实例的数组,这个数组与子 Vue 实例绑定的数组是相对应的。
257257

source/api/filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: Filters
1+
title: 过滤器
22
type: api
33
order: 7
44
---

source/api/global-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: Global API
1+
title: 全局 API
22
type: api
33
order: 5
44
---
@@ -159,7 +159,7 @@ Vue.js 批量处理视图更新并对其异步执行。如果可用的话它会
159159
- **plugin** `Object` or `Function`
160160
- **args...** *可选的*
161161

162-
挂载一个 Vue.js 的插件。如果该插件是一个对象,它必须有一个 `install` 的方法。如果它本身就是一个方法,它必须被作为安装方法来对待。安装方法将会被 Vue 作为一个参数来调用。更多详情请阅[插件](../guide/extending.html#Extend_with_Plugins)
162+
挂载一个 Vue.js 的插件。如果该插件是一个对象,它必须有一个 `install` 的方法。如果它本身就是一个方法,它必须被作为安装方法来对待。安装方法将会被 Vue 作为一个参数来调用。更多详情请阅[插件](../guide/extending.html#使用插件进行扩展)
163163

164164
### Vue.util
165165

source/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: "The Vue Constructor"
1+
title: "Vue 构造函数"
22
type: api
33
order: 1
44
---

source/api/instance-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: Instance Methods
1+
title: 实例方法
22
type: api
33
order: 4
44
---

source/api/instance-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: Instance Properties
1+
title: 实例属性
22
type: api
33
order: 3
44
---

source/api/options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: Options
1+
title: 选项
22
type: api
33
order: 2
44
---
@@ -158,7 +158,7 @@ If the option is available at instantiation, the instance will immediately enter
158158

159159
- **Type:** `String`
160160

161-
A string template to be inserted into `vm.$el`. Any existing markup inside `vm.$el` will be overwritten, unless [content insertion points](../guide/components.html#Content_Insertion) are present in the template. If the **replace** option is `true`, the template will replace `vm.$el` entirely.
161+
A string template to be inserted into `vm.$el`. Any existing markup inside `vm.$el` will be overwritten, unless [content insertion points](../guide/components.html#内容插入) are present in the template. If the **replace** option is `true`, the template will replace `vm.$el` entirely.
162162

163163
If it starts with `#` it will be used as a querySelector and use the selected element's innerHTML and the template string. This allows the use of the common `<script type="x-template">` trick to include templates.
164164

source/guide/directives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ order: 3
7878

7979
尽管如此,值得注意的是只有 `v-component``v-partial` 这两个字面量指令有这种可响应的行为。Mustache 表达式在别的字面量指令,如 `v-ref` 中,是**只运行一次**的。在指令被编译之后,就不再响应值的变化了。
8080

81-
完整的字面量指令列表可以在 [API 索引](../api/directives.html#Literal_Directives) 中找到。
81+
完整的字面量指令列表可以在 [API 索引](../api/directives.html#字面指令) 中找到。
8282

8383
## 空指令
8484

@@ -90,6 +90,6 @@ order: 3
9090
</div>
9191
```
9292

93-
完整的空指令列表可以在 [API 索引](../api/directives.html#Empty_Directives) 中找到。
93+
完整的空指令列表可以在 [API 索引](../api/directives.html#空指令) 中找到。
9494

9595
接下来,我们来看一看[过滤器](../guide/filters.html)

source/guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var vm = new Vue({ /* options */ })
3535
vm.$el // The View
3636
```
3737

38-
Vue.js 使用基于 DOM 的模板。每个 Vue 实例都关联着一个相应的 DOM 元素。当一个 Vue 实例被创建时,它会递归便利根元素的所有子结点,同时完成必要的数据绑定。当这个视图被编译之后,它就会自动反映数据的变化。
38+
Vue.js 使用基于 DOM 的模板。每个 Vue 实例都关联着一个相应的 DOM 元素。当一个 Vue 实例被创建时,它会递归遍历根元素的所有子结点,同时完成必要的数据绑定。当这个视图被编译之后,它就会自动反映数据的变化。
3939

4040
在使用 Vue.js 时,除了自定义的指令 (directives) 您几乎不必直接接触 DOM (稍后会有解释)。当数据发生变化时,视图将会自动触发更新。这些更新的颗粒度是精确到 textNode 的。同时为了更好的性能,这些更新是批量异步执行的。
4141

0 commit comments

Comments
 (0)
0