File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,10 @@ type: api
138
138
139
139
- ** 参照:** [ コンポーネント] ( ../guide/components.html )
140
140
141
- <h3 id =" Vue-nextTick " >Vue.nextTick( callback, [ context] )</h3 >
141
+ <h3 id =" Vue-nextTick " >Vue.nextTick( [ callback, context] )</h3 >
142
142
143
143
- ** 引数:**
144
- - ` {Function} callback `
144
+ - ` {Function} [ callback] `
145
145
- ` {Object} [context] `
146
146
147
147
- ** 使用方法:**
@@ -157,6 +157,8 @@ type: api
157
157
})
158
158
```
159
159
160
+ > New in 2.1.0: コールバックが提供されず、実行環境で Promise がサポートされている場合は Promise を返します。
161
+
160
162
- ** 参照:** [ 非同期更新キュー] ( ../guide/reactivity.html#非同期更新キュー )
161
163
162
164
<h3 id =" Vue-set " >Vue.set( object, key, value )</h3 >
@@ -1205,15 +1207,17 @@ type: api
1205
1207
1206
1208
Vue インスタンスに再描画を強制します。インスタンス自身と slot コンテンツに挿入された子コンポーネントだけで、全ての子コンポーネントに影響しないことに注意してください。
1207
1209
1208
- <h3 id =" vm-nextTick " >vm.$nextTick( callback )</h3 >
1210
+ <h3 id =" vm-nextTick " >vm.$nextTick( [ callback] )</h3 >
1209
1211
1210
1212
- ** 引数:**
1211
- - ` {Function} callback `
1213
+ - ` {Function} [ callback] `
1212
1214
1213
1215
- ** 使用方法:**
1214
1216
1215
1217
callback の実行を遅延し、DOM の更新サイクル後に実行します。DOM の更新を待ち受けるためにいくつかのデータを更新した直後に使用してください。callback の ` this ` コンテキストは自動的にこのメソッドを呼びだすインスタンスに束縛されることを除いて、グローバルな ` Vue.nextTick ` と同じです。
1216
1218
1219
+ > New in 2.1.0: コールバックが提供されず、実行環境で Promise がサポートされている場合は Promise を返します。
1220
+
1217
1221
- ** 例:**
1218
1222
1219
1223
``` js
You can’t perform that action at this time.
0 commit comments