Skip to content

Commit 4935fa7

Browse files
committed
docs: Add onLoad to the documentation.
1 parent 7955cf6 commit 4935fa7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ mix.i18n();
150150
- `lang` *(optional)*: If not provided it will try to find from the `<html lang="pt">` tag.
151151
- `fallbackLang` *(optional)*: If the `lang` was not provided or is invalid, it will try reach for this `fallbackLang` instead, default is: `en`.
152152
- `resolve` *(required)*: The way to reach your language files.
153-
- `shared` *(optional)*: whether to [share the same `I18n` instance](#using-multiple-instances) between different Vue apps. Defaults to `true`.
153+
- `shared` *(optional)*: Whether to [share the same `I18n` instance](#using-multiple-instances) between different Vue apps, default is: `true`.
154+
- `onLoad` *(optional)*: It's called everytime a language is loaded.
154155
155156
```js
156157
createApp().use(i18nVue, {

0 commit comments

Comments
 (0)