8000 Explicitly note on `events` option deprecation by phanan · Pull Request #453 · vuejs/v2.vuejs.org · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/guide/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,10 @@ If you need to stagger list transitions, you can control timing by setting and a

## Events

### `events` option <sup>deprecated</sup>

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.

### `Vue.directive('on').keyCodes` <sup>deprecated</sup>

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