Skip to content

Commit c35fcce

Browse files
authored
prop(指API时)不翻译的术语
规定
1 parent 2222401 commit c35fcce

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/api/index.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1635,13 +1635,13 @@ type: api
16351635

16361636
### component
16371637

1638-
- **特性**
1638+
- **Props**
16391639
- `is` - string | ComponentDefinition | ComponentConstructor
16401640
- `inline-template` - boolean
16411641

16421642
- **用法:**
16431643

1644-
渲染一个“元组件”为动态组件。依 `is` 的值决定哪个组件被渲染
1644+
渲染一个“元组件”为动态组件。依 `is` 的值, 来决定哪个组件被渲染
16451645

16461646
```html
16471647
<!-- 动态组件由 vm 实例的属性值 `componentId` 控制 -->
@@ -1655,7 +1655,7 @@ type: api
16551655

16561656
### transition
16571657

1658-
- **特性**
1658+
- **Props**
16591659
- `name` - string, 用于自动生成 CSS 过渡类名。例如:`name: 'fade'` 将自动拓展为`.fade-enter``.fade-enter-active`等。默认类名为 `"v"`
16601660
- `appear` - boolean, 是否在初始渲染时使用过渡。默认为 `false`
16611661
- `css` - boolean, 是否使用 CSS 过渡类。默认为 `true`。如果设置为 `false`,将只通过组件事件触发注册的 JavaScript 钩子。
@@ -1718,7 +1718,7 @@ type: api
17181718

17191719
### transition-group
17201720

1721-
- **特性**
1721+
- **Props**
17221722
- `tag` - string, 默认为 `span`
17231723
- `move-class` - 覆盖移动过渡期间应用的 CSS 类。
17241724
- 除了 `mode`,其他特性和 `<transition>` 相同。
@@ -1780,15 +1780,14 @@ type: api
17801780

17811781
### slot
17821782

1783-
- **特性**
1783+
- **Props**
17841784
- `name` - string, 用于命名插槽。
17851785

17861786
- **Usage:**
17871787

17881788
`<slot>` 元素作为组件模板之中的内容分发插槽。 `<slot>` 元素自身将被替换。
17891789

1790-
详细用法,请参考下面 guide 部分的链接。
1791-
For detailed usage, see the guide section linked below.
1790+
详细用法,请参考下面教程的链接。
17921791

17931792
- **另见:** [使用Slots分发内容](/guide/components.html#使用Slots分发内容)
17941793

0 commit comments

Comments
 (0)