Skip to content

Commit 01123c4

Browse files
juukieyyx990803
authored andcommitted
Switch true and false
I think these should be switched according to the example further below. '<div v-if="$loadingRouteData">Loading ...</div>'
1 parent 9d7c536 commit 01123c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/pipeline/data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Called on an incoming component during the activation phase, after the `activate
1919

2020
### Details
2121

22-
The `data` transition hook is called immediately after the `activate` hook is resolved, and right before the view switching is executed. The entering component gets a **`$loadingRouteData`** meta property, which starts with value `false` and set to `true` when the `data` hook is resolved. This property can be used to display a loading state for the entering component.
22+
The `data` transition hook is called immediately after the `activate` hook is resolved, and right before the view switching is executed. The entering component gets a **`$loadingRouteData`** meta property, which starts with value `true` and set to `false` when the `data` hook is resolved. This property can be used to display a loading state for the entering component.
2323

2424
The `data` hook is different from `activate` in that:
2525

0 commit comments

Comments
 (0)