@jsenv/navi 0.29.510 → 0.29.512
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 +91 -11
- package/dist/dev/jsenv_navi.js.map +4 -4
- package/dist/jsenv_navi.js +77 -11
- package/dist/jsenv_navi.js.map +4 -4
- package/docs/actions.md +6 -1
- package/docs/form_changed.md +3 -0
- package/docs/interactions.md +1 -0
- package/package.json +1 -1
package/docs/actions.md
CHANGED
|
@@ -308,7 +308,12 @@ instance runs depends on the value the control carries:
|
|
|
308
308
|
click, the run, the data.
|
|
309
309
|
- a **button inside a `<Form>` or another group**, with no `value` of its own,
|
|
310
310
|
carries the value around it — a submit carries its form's — and runs the
|
|
311
|
-
child instance bound to that value, as the controls below do
|
|
311
|
+
child instance bound to that value, as the controls below do: merged over
|
|
312
|
+
the params it was handed, and **replaced** by a value that is not an object.
|
|
313
|
+
A button in a **picker's popup** is not in this case: the picker's value is
|
|
314
|
+
what its list picks, and a button beside the list (a "refresh" next to a
|
|
315
|
+
sort order) carries nothing — it runs the instance it was handed, as outside
|
|
316
|
+
any group.
|
|
312
317
|
- a control that **carries a value** — an input, a form — runs the child
|
|
313
318
|
instance bound to that value: the value merged over the params the caller
|
|
314
319
|
bound, and a value that is not an object **replaces them outright**. A
|
package/docs/form_changed.md
CHANGED
|
@@ -230,6 +230,9 @@ Every control takes the prop, groups included — `<Form standalone>`, or a
|
|
|
230
230
|
`<List standalone>` sitting beside the one that IS the answer in a picker's
|
|
231
231
|
popup (see
|
|
232
232
|
[control_object.md](./control_object.md#a-picker-whose-value-is-an-object)).
|
|
233
|
+
A button in that popup needs nothing: the picker hands its value to no button,
|
|
234
|
+
so a "refresh" beside a sort list runs with the params it was bound with (see
|
|
235
|
+
[actions.md](./actions.md#the-instance-a-control-runs)).
|
|
233
236
|
|
|
234
237
|
## See also
|
|
235
238
|
|
package/docs/interactions.md
CHANGED
|
@@ -429,6 +429,7 @@ They come apart, which is why they are separate props:
|
|
|
429
429
|
| ------------------------------------------------ | ------------------------------------------------------ |
|
|
430
430
|
| a chip's cross | `selfInteractions` — it never carried a value |
|
|
431
431
|
| a door opening a sheet that writes into the form | `standalone` — but a read-only form must still shut it |
|
|
432
|
+
| a button beside the list in a picker's popup | nothing — the picker hands its value to no button |
|
|
432
433
|
| the diskette above | all three: own press, block not about it, own value |
|
|
433
434
|
|
|
434
435
|
### The fourth question: whose wait is it?
|