8000 Typos in api/index.md (#1211) · vuejs/v2.vuejs.org@09ef2a0 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 09ef2a0

Browse files
Alex-Sokolovchrisvfritz
authored andcommitted
Typos in api/index.md (#1211)
1 parent 7cfb997 commit 09ef2a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v2/api/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ type: api
868868
869869
- **Details:**
870870
871-
Called when an error from any desendent component is captured. The hook receives three arguments: the error, the component instance that triggered the error, and a string containing information on where the error was captured. The hook can return `false` to stop the error from propagating further.
871+
Called when an error from any descendent component is captured. The hook receives three arguments: the error, the component instance that triggered the error, and a string containing information on where the error was captured. The hook can return `false` to stop the error from propagating further.
872872
873873
<p class="tip">You can modify component state in this hook. However, it is important to have conditionals in your template or render function that short circuits other content when an error has been captured; otherwise the component will be thrown into an infinite render loop.</p>
874874
@@ -880,7 +880,7 @@ type: api
880880
881881
- If the `errorCaptured` hook itself throws an error, both this error and the original captured error are sent to the global `config.errorHandler`.
882882
883-
- An `errorCaptured` hook can return `false` to prevent the error from propagating further. This is essentially syaing "this error has been handled and should be ignored." It will prevent any additional `errorCaptured` hooks or the global `config.errorHandler` from being invoked for this error.
883+
- An `errorCaptured` hook can return `false` to prevent the error from propagating further. This is essentially saying "this error has been handled and should be ignored." It will prevent any additional `errorCaptured` hooks or the global `config.errorHandler` from being invoked for this error.
884884
885885
## Options / Assets
886886

0 commit comments

Comments
 (0)
0