@jsenv/navi 0.30.30 → 0.30.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/jsenv_navi.js +244 -116
- package/dist/dev/jsenv_navi.js.map +7 -5
- package/dist/jsenv_navi.js +244 -116
- package/dist/jsenv_navi.js.map +7 -5
- package/docs/drag_to_travel.md +4 -4
- package/package.json +1 -1
package/docs/drag_to_travel.md
CHANGED
|
@@ -49,9 +49,9 @@ web does, and these are its rules, not ours:
|
|
|
49
49
|
What stays ours:
|
|
50
50
|
|
|
51
51
|
- **A travel asked for** (a tab, a key, a command, a state) is one box long whatever
|
|
52
|
-
the distance: the pages in between are not crossed.
|
|
53
|
-
`
|
|
54
|
-
|
|
52
|
+
the distance: the pages in between are not crossed. It plays in `duration`, 300ms
|
|
53
|
+
`ease` by default, in `SlideContainer` and `RouteTravel` alike, so two rows of tabs
|
|
54
|
+
in one app move the same way. A finger landing on it finishes it first.
|
|
55
55
|
- **A press beats a row still moving.** It sets off at once from what is on screen,
|
|
56
56
|
and the row never lands where the hand was sending it. In `SlideContainer`
|
|
57
57
|
`onCurrentChange` hears about the slide pressed and not about that one, and on iOS a
|
|
@@ -244,7 +244,7 @@ A row of screens is a scroll container, and contains itself.
|
|
|
244
244
|
| what says which is here | a `signal`, `current` / a command | the URL |
|
|
245
245
|
| what a screen not on it shows | itself, built or `mount="near"` | itself once visited; before that, see below |
|
|
246
246
|
| what says the order | the layout map | the `<Route>` children, or `routes` |
|
|
247
|
-
| a travel asked for | plays in `duration`, one box long |
|
|
247
|
+
| a travel asked for | plays in `duration`, one box long | plays in `duration`, one box long |
|
|
248
248
|
|
|
249
249
|
A `RouteTravel` page not visited yet can only be built by the address moving, since
|
|
250
250
|
a route's actions ask only while it matches. So the address moves once the hand has
|