Skip to content

Commit c30b075

Browse files
authored
docs: API. Add missed $route.meta (#3521)
1 parent 685521a commit c30b075

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/api/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,12 @@ The route object can be found in multiple places:
571571
572572
An object that contains key/value pairs of the query string. For example, for a path `/foo?user=1`, we get `$route.query.user == 1`. If there is no query the value will be an empty object.
573573
574+
- **\$route.meta**
575+
576+
- type: `Object`
577+
578+
An object that contains key/value pairs of the route meta object. If there are no meta properties the value will be an empty object.
579+
574580
- **\$route.hash**
575581
576582
- type: `string`

docs/ru/api/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,12 @@ router.onError(callback)
569569
570570
Объект, который содержит пары ключ/значение строки запроса (query string). Например, для пути `/foo?user=1` получим `$route.query.user == 1`. Если строки запроса нет, то значением будет пустой объект.
571571
572+
- **\$route.meta**
573+
574+
- тип: `Object`
575+
576+
Объект, который содержит пары ключ/значение объекта meta для маршрута. Если у объекте meta нет свойств, то значением будет пустой объект.
577+
572578
- **\$route.hash**
573579
574580
- тип: `string`

0 commit comments

Comments
 (0)