Skip to content

Commit 2d772fc

Browse files
author
sunecosuri
committed
translate /api/wrapper-array
1 parent db15431 commit 2d772fc

File tree

12 files changed

+52
-50
lines changed

12 files changed

+52
-50
lines changed

docs/ja/api/wrapper-array/hasAttribute.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# hasAttribute(attribute, value)
22

3-
- **Arguments:**
3+
- **引数:**
44
- `{string} attribute`
55
- `{string} value`
66

7-
- **Returns:** `{boolean}`
7+
- **戻り値:** `{boolean}`
88

9-
- **Usage:**
9+
- **使い方:**
1010

11-
Assert every `Wrapper` in `WrapperArray` DOM node has `attribute` matching `value`.
11+
`WrapperArray`の全ての`Wrapper``value`と一致する属性を持っているかアサートします。
1212

1313
```js
1414
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/hasClass.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# hasClass(className)
22

3-
- **Arguments:**
4-
- `{string} className`
3+
- **引数:**
4+
- `{string} クラス名(className)`
55

6-
- **Returns:** `{boolean}`
6+
- **戻り値:** `{boolean}`
77

8-
- **Usage:**
8+
- **使い方:**
99

10-
Assert every `Wrapper` in `WrapperArray` DOM node has class containing `className`.
10+
`WrapperArray`のすべての`Wrapper`にDOMノードが`className`を含むクラスを持っているかアサートします。
1111

1212
```js
1313
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/hasProp.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
# hasProp(prop, value)
22

3-
Check if every wrapper vm in wrapper array has prop matching value
3+
Wrapper配列内の各Wrappervmにプロパティとマッチしているかアサートします。
44

5-
Can only be called on a Vue instance.
5+
Vueインスタンスのみ呼び出せます。
66

77
# hasProp(prop, value)
88

9-
- **Arguments:**
9+
- **引数:**
1010
- `{string} prop`
1111
- `{any} value`
1212

13-
- **Returns:** `{boolean}`
13+
- **戻り値:** `{boolean}`
1414

15-
- **Usage:**
15+
- **使い方:**
1616

17-
Assert every `Wrapper` in `WrapperArray` `vm` has `prop` matching `value`.
17+
`WrappersArray``Wrapper``vm`にプロパティを持っているかアサートします。
1818

1919
**Note the Wrapper must contain a Vue instance.**
20+
**WrapperにはVueインスタンスを含む必要があることに注意してください。**
21+
2022

2123
```js
2224
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/hasStyle.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# hasStyle(style, value)
22

3-
- **Arguments:**
3+
- **引数:**
44
- `{string} style`
55
- `{string} value`
66

7-
- **Returns:** `{boolean}`
7+
- **戻り値:** `{boolean}`
88

9-
- **Usage:**
9+
- **使い方:**
1010

11-
Assert every `Wrapper` in `WrapperArray` DOM node has style matching value.
11+
`WrapperArray`の全ての`Wrapper`のDOMノードにstyle属性とマッチする値を持っているかアサートします。
1212

1313
Returns `true` if `Wrapper` DOM node has `style` matching `string`.
1414

15-
**Note will only detect inline styles when running in `jsdom`.**
15+
**`jsdom`で実行しているときにのみインラインスタイルを検出しますので注意してください。**
1616

1717
```js
1818
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/is.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# is(selector)
22

3-
- **Arguments:**
3+
- **引数:**
44
- `{string|Component} selector`
55

6-
- **Returns:** `{boolean}`
6+
- **戻り値:** `{boolean}`
77

8-
- **Usage:**
8+
- **使い方:**
99

10-
Assert every `Wrapper` in `WrapperArray` DOM node or `vm` matches [selector](/docs/en/api/selectors.md).
10+
`WrapperArray`の全ての`Wrapper`のDOMノード、もしくは[セレクタ](/docs/ja/api/selectors.md)`vm`とマッチするかアサートします。
1111

1212
```js
1313
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/isEmpty.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# isEmpty()
22

3-
- **Returns:** `{boolean}`
3+
- **戻り値:** `{boolean}`
44

5-
- **Usage:**
5+
- **使い方:**
66

7-
Assert every `Wrapper` in `WrapperArray` does not contain child node.
7+
`WrapperArray`のすべての`Wrapper`に子ノードを含んでいないかアサートします。
88

99
```js
1010
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/isVueInstance.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# isVueInstance()
22

3-
- **Returns:** `{boolean}`
3+
- **戻り値:** `{boolean}`
44

5-
- **Usage:**
5+
- **使い方:**
66

7-
Assert every `Wrapper` in `WrapperArray` is Vue instance.
7+
`WrapperArray`の全ての`Wrapper`がVueインスタンスであるかアサートします。
88

99
```js
1010
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/setData.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# setData(data)
22

3-
- **Arguments:**
3+
- **引数:**
44
- `{Object} data`
55

6-
- **Usage:**
6+
- **使い方:**
77

8-
Sets `Wrapper` `vm` data and forces update on each `Wrapper` in `WrapperArray`.
8+
`WrapperArray``Wrapper`ごとに`Wrapper` `vm` データをセットし、強制的に更新します。
99

10-
**Note every `Wrapper` must contain a Vue instance.**
10+
**すべての`Wrapper`はVueインスタンスを含んでいなければならないことに注意してください。**
1111

1212
```js
1313
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/setMethods.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11

22
# setMethods(methods)
33

4-
- **Arguments:**
4+
- **引数:**
55
- `{Object} methods`
66

7-
- **Usage:**
7+
- **使い方:**
8+
`WrapperArray``Wrapper`ごとに`Wrapper` `vm` メソッドをセットし、強制的に更新します。
89

9-
Sets `Wrapper` `vm` methods and forces update on each `Wrapper` in `WrapperArray`.
10-
11-
**Note every `Wrapper` must contain a Vue instance.**
10+
**すべての`Wrapper`はVueインスタンスを含んでいなければならないことに注意してください。**
1211

1312
```js
1413
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/setProps.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# setProps(props)
22

3-
- **Arguments:**
3+
- **引数:**
44
- `{Object} props`
55

6-
- **Usage:**
6+
- **使い方:**
77

8-
Sets `Wrapper` `vm` props and forces update on each `Wrapper` in `WrapperArray`.
8+
`WrapperArray``Wrapper`ごとに`Wrapper` `vm` プロパティをセットし、強制的に更新します。
99

10-
**Note every `Wrapper` must contain a Vue instance.**
10+
**すべての`Wrapper`はVueインスタンスを含んでいなければならないことに注意してください。**
1111

1212
```js
1313
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/trigger.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# trigger(eventName)
22

3-
- **Arguments:**
3+
- **引数:**
44
- `{string} eventName
55

6-
- **Usage:**
6+
- **使い方:**
77

88
Triggers an event on every `Wrapper` in the `WrapperArray` DOM node.
9+
`WrapperArray` のDOMノードのすべての `Wrapper` でイベントを発火します。
910

10-
**Note every `Wrapper` must contain a Vue instance.**
11+
**すべての`Wrapper`はVueインスタンスを含んでいなければならないことに注意してください。**
1112

1213
```js
1314
import { mount } from 'vue-test-utils'

docs/ja/api/wrapper-array/update.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# update()
22

3-
- **Usage:**
3+
- **使い方:**
44

5-
Force root Vue component of each `Wrapper` in `WrapperArray` to re-render.
5+
`WrapperArray`の各`Wrapper`のルートVueコンポーネントを強制的に再レン​​ダリングします。
66

7-
If called on a Vue component wrapper array, it will force each Vue component to re-render.
7+
VueコンポーネントをWrapperArrayで呼び出した場合、各Vueコンポーネントは強制的に再レン​​ダリングされます。
88

9-
### Example
9+
###
1010

1111
```js
1212
import { mount } from 'vue-test-utils'

0 commit comments

Comments
 (0)