|
@@ -4181,7 +4181,7 @@
|
|
|
*
|
|
*
|
|
|
* Example:
|
|
* Example:
|
|
|
*
|
|
*
|
|
|
- * <div class=".container" style="overflow-y: scroll; height: 100px">
|
|
|
|
|
|
|
+ * <div class="container" style="overflow-y: scroll; height: 100px">
|
|
|
* <ul data-bind="foreachVisible: { data: items, minHeight: 20, container: '.container' }">
|
|
* <ul data-bind="foreachVisible: { data: items, minHeight: 20, container: '.container' }">
|
|
|
* <li>...</li>
|
|
* <li>...</li>
|
|
|
* </ul>
|
|
* </ul>
|
|
@@ -4189,7 +4189,7 @@
|
|
|
*
|
|
*
|
|
|
* For tables the binding has to be attached to the tbody element:
|
|
* For tables the binding has to be attached to the tbody element:
|
|
|
*
|
|
*
|
|
|
- * <div class=".container" style="overflow-y: scroll; height: 100px">
|
|
|
|
|
|
|
+ * <div class="container" style="overflow-y: scroll; height: 100px">
|
|
|
* <table>
|
|
* <table>
|
|
|
* <thead>...</thead>
|
|
* <thead>...</thead>
|
|
|
* <tbody data-bind="foreachVisible: { data: items, minHeight: 20, container: '.container' }>
|
|
* <tbody data-bind="foreachVisible: { data: items, minHeight: 20, container: '.container' }>
|
|
@@ -4201,7 +4201,7 @@
|
|
|
* Currently the binding only supports one element inside the bound element otherwise the height
|
|
* Currently the binding only supports one element inside the bound element otherwise the height
|
|
|
* calculations will be off. In other words this will make it go bonkers:
|
|
* calculations will be off. In other words this will make it go bonkers:
|
|
|
*
|
|
*
|
|
|
- * <div class=".container" style="overflow-y: scroll; height: 100px">
|
|
|
|
|
|
|
+ * <div class="container" style="overflow-y: scroll; height: 100px">
|
|
|
* <ul data-bind="foreachVisible: { data: items, minHeight: 20, container: '.container' }">
|
|
* <ul data-bind="foreachVisible: { data: items, minHeight: 20, container: '.container' }">
|
|
|
* <li>...</li>
|
|
* <li>...</li>
|
|
|
* <li style="display: none;">...</li>
|
|
* <li style="display: none;">...</li>
|