Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit 3387ae0

Browse files
committed
📝 docs(gitbook): add explanation of missingHandler
1 parent 168a97c commit 3387ae0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitbook/api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040

4141
Assign a handler for translation missing. The handler gets called with the translation target language, translation key and the Vue instance.
4242

43+
If mssingHandler is assigned, and occured translation missing, it's not warned.
44+
4345
```javascript
4446
Vue.config.missingHandler = function (lang, key, vm) {
4547
// handle translation missing

0 commit comments

Comments
 (0)