@webqit/oohtml 2.1.70 → 2.1.72
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 +13 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -669,34 +669,32 @@ Here, we get the `binding` attribute for a declarative and neat, key/value data-
|
|
|
669
669
|
|
|
670
670
|
</details>
|
|
671
671
|
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
Lists are rendered in realtime, which means that in-place mutations - additions and removals - on the *iteratee* will be automatically reflected on the UI!
|
|
675
|
-
|
|
676
|
-
</details>
|
|
677
|
-
|
|
678
|
-
<details><summary>With SSR Support</summary>
|
|
679
|
-
|
|
680
|
-
Generated item elements are automatically assigned a corresponding index with a `data-index` attribute! This helps in remapping generated item nodes to their respective entry in *iteratee* - universally.
|
|
681
|
-
|
|
682
|
-
</details>
|
|
683
|
-
|
|
684
|
-
<details><summary>Example</summary>
|
|
672
|
+
**-->** *all of which could be seen below*:
|
|
685
673
|
|
|
686
674
|
```html
|
|
687
675
|
<section>
|
|
688
676
|
|
|
689
677
|
<!-- The "items" template -->
|
|
690
678
|
<template def="item" scoped>
|
|
691
|
-
<li binding="@text:
|
|
679
|
+
<li binding="@text: index + ': ' + name;"></li>
|
|
692
680
|
</template>
|
|
693
681
|
|
|
694
682
|
<!-- The loop -->
|
|
695
|
-
<ul binding="@items: (name,
|
|
683
|
+
<ul binding="@items: (name, index) of ['dog','cat','ram'] / 'item';"></ul>
|
|
696
684
|
|
|
697
685
|
</section>
|
|
698
686
|
```
|
|
699
687
|
|
|
688
|
+
<details><summary>All in Realtime</summary>
|
|
689
|
+
|
|
690
|
+
Lists are rendered in realtime, which means that in-place mutations - additions and removals - on the *iteratee* will be automatically reflected on the UI!
|
|
691
|
+
|
|
692
|
+
</details>
|
|
693
|
+
|
|
694
|
+
<details><summary>With SSR Support</summary>
|
|
695
|
+
|
|
696
|
+
Generated item elements are automatically assigned a corresponding index with a `data-index` attribute! This helps in remapping generated item nodes to their respective entry in *iteratee* - universally.
|
|
697
|
+
|
|
700
698
|
</details>
|
|
701
699
|
|
|
702
700
|
## Data Plumbing
|