You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update events.md - Diff between Options API and Composition API text (#2550)
* Update events.md - Diff between Options API and Composition API text
The emits support for object sintax for Options API text was displayed for both, Options and Composition API.
* Update events.md - in span instead of repeat code in different divs
* Update events.md - fix options-api class
* Update src/guide/components/events.md
Co-authored-by: Natalia Tepluhina <[email protected]>
---------
Co-authored-by: Natalia Tepluhina <[email protected]>
Copy file name to clipboardExpand all lines: src/guide/components/events.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,7 @@ export default {
176
176
177
177
</div>
178
178
179
-
The `emits` option also supports an object syntax, which allows us to perform runtime validation of the payload of the emitted events:
179
+
The `emits` option and `defineEmits()` macro also support an object syntax, which allows us to perform runtime validation of the payload of the emitted events:
0 commit comments