@industream/timeline 1.0.1 → 1.1.0
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/README.md +2 -2
- package/dist/industream-timeline.js +3815 -3808
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -33,11 +33,11 @@ Then drop it anywhere. Drive it with **attributes**, read it back through **even
|
|
|
33
33
|
| `language` | `en` \| `fr` \| `de` | `en` | UI language. |
|
|
34
34
|
| `instant` | boolean (presence) | — | Show the snapshot instant T (playhead + value bubble). |
|
|
35
35
|
| `window` | boolean (presence) | — | Show the `[from,to]` window and its start/end fields. |
|
|
36
|
-
| `modes` | space-separated `live` `timelapse` | all compatible | Animated modes on top of Historic (always on). `timelapse`
|
|
36
|
+
| `modes` | space-separated `live` `timelapse` (absent = all; `""` = Historic only) | all compatible | Animated modes on top of Historic (always on). `timelapse` auto-adds `instant`+`window` while it runs. |
|
|
37
37
|
| `theme` | `light` \| `dark` | `light` | Built-in colour theme. |
|
|
38
38
|
| `step-loading` | boolean | off | Tells timelapse a snapshot is still loading, so playback waits for your data. |
|
|
39
39
|
|
|
40
|
-
If **neither** `instant` nor `window` is present, both default on (bare `<industream-timeline>` = full timeline). Historic is always on; `modes` lists only `live` / `timelapse
|
|
40
|
+
If **neither** `instant` nor `window` is present, both default on (bare `<industream-timeline>` = full timeline). Historic is always on; `modes` lists only `live` / `timelapse` (**omit** the attribute for the default, `""` for Historic only). Listing `historic` or an unknown mode throws; `timelapse` never throws — it auto-adds any missing content while it runs. See the [full guide](../docs/web-component.md#every-combination) for every combination.
|
|
41
41
|
|
|
42
42
|
One **property** (an object, so set it in JS, not as an attribute): `el.preview = { points, min, max }` — an
|
|
43
43
|
optional series drawn faintly across the band.
|