Skip to content

Commit 0cd1008

Browse files
phananchrisvfritz
authored andcommitted
Explicitly note on events opt deprecation (fixes vuejs#436) (vuejs#453)
1 parent cdab852 commit 0cd1008

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/guide/migration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,10 @@ If you need to stagger list transitions, you can control timing by setting and a
725725

726726
## Events
727727

728+
### `events` option <sup>deprecated</sup>
729+
730+
The `events` option has been deprecated. Event handlers should now be registered in the `created` hook instead. Check out the [`$dispatch` and `$broadcast` migration guide](#dispatch-and-broadcast-deprecated) for a detailed example.
731+
728732
### `Vue.directive('on').keyCodes` <sup>deprecated</sup>
729733

730734
The new, more concise way to configure `keyCodes` is through`Vue.config.keyCodes`. For example:

0 commit comments

Comments
 (0)