Skip to content

[Doc EN]: some update for 2.5.0 documentation #1218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 14, 2017
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/v2/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ type: api
Vue.config.ignoredElements = [
'my-custom-web-component',
'another-web-component',
// Use a RegExp to ignore all elements that start with "ion-"
// Use a `RegExp` to ignore all elements that start with "ion-"
// 2.5+ only
/^ion-/
]
Expand Down
4 changes: 2 additions & 2 deletions src/v2/guide/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ In the above example, the handler will only be called if `$event.key === 'PageDo

## System Modifier Keys

> New in 2.1.0
> New in 2.1.0+

You can use the following modifiers to trigger mouse or keyboard event listeners only when the corresponding modifier key is pressed:

Expand All @@ -284,7 +284,7 @@ For example:

### `.exact` Modifier

> New in 2.5.0
> New in 2.5.0+

The `.exact` modifier should be used in combination with other system modifiers to indicate that the exact combination of modifiers must be pressed for the handler to fire.

Expand Down
4 changes: 2 additions & 2 deletions src/v2/guide/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: guide
order: 404
---

> In Vue 2.5.0 we have greatly improved our type declarations to work with the default object-based API. At the same time it introduces a few changes that require upgrade actions. Read [this blog post](https://medium.com/the-vue-point/upcoming-typescript-changes-in-vue-2-5-e9bd7e2ecf08) for more details.
> In Vue 2.5.0+ we have greatly improved our type declarations to work with the default object-based API. At the same time it introduces a few changes that require upgrade actions. Read [this blog post](https://medium.com/the-vue-point/upcoming-typescript-changes-in-vue-2-5-e9bd7e2ecf08) for more details.

## Official Declaration in NPM Packages

Expand Down Expand Up @@ -128,7 +128,7 @@ import Vue from 'vue'

declare module 'vue/types/vue' {
// Global properties can be declared
// on the VueConstructor interface
// on the `VueConstructor` interface
interface VueConstructor {
$myGlobal: string
}
Expand Down