@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.
Files changed (2) hide show
  1. package/README.md +13 -15
  2. 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
- <details><summary>All in Realtime</summary>
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: key + ': ' + name;"></li>
679
+ <li binding="@text: index + ': ' + name;"></li>
692
680
  </template>
693
681
 
694
682
  <!-- The loop -->
695
- <ul binding="@items: (name, key) of ['dog','cat','ram'] / 'item';"></ul>
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
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "wicg-proposal"
15
15
  ],
16
16
  "homepage": "https://webqit.io/tooling/oohtml",
17
- "version": "2.1.70",
17
+ "version": "2.1.72",
18
18
  "license": "MIT",
19
19
  "repository": {
20
20
  "type": "git",