Skip to content

Commit 27bcee7

Browse files
committed
docs: add optional options to trigger page
1 parent e6a54b2 commit 27bcee7

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# `trigger(eventName)`
1+
# `trigger(eventType [, options ])`
22

33
Triggers an event on every `Wrapper` in the `WrapperArray` DOM node.
44

55
**Note every `Wrapper` must contain a Vue instance.**
66

77
- **Arguments:**
8-
- `{string} eventName`
8+
- `{string} eventType` **required**
9+
- `{Object} options` **optional**
910

1011
- **Example:**
1112

docs/en/api/wrapper/trigger.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# `trigger(eventName)`
1+
# `trigger(eventType [, options ])`
22

33
Triggers an event on the `Wrapper` DOM node.
44

55
`trigger` takes an optional `options` object. The properties in the `options` object are added to the Event.
66

77
- **Arguments:**
8-
- `{string} eventName`
9-
- `{Object} options`
8+
- `{string} eventType` **required**
9+
- `{Object} options` **optional**
1010

1111
- **Example:**
1212

0 commit comments

Comments
 (0)