diff --git a/README.md b/README.md index 5ba2b37..d1b6dca 100644 --- a/README.md +++ b/README.md @@ -344,6 +344,31 @@ The header slot allows you to simulate a full-page mode for the virtual-scroller ``` +### header-inner-container +The header-inner-container slot is injected into the `div.vue-virtual-collection-container` but appears before cells. Additionally this slot is not removed from the DOM on scroll unlike the cells. + +```html + + + + +
+ {{props.data}} +
+
+``` + ### cell ```html
{{yourOwnScope.data.text}}
diff --git a/src/VirtualCollection.vue b/src/VirtualCollection.vue index d57823f..f887080 100644 --- a/src/VirtualCollection.vue +++ b/src/VirtualCollection.vue @@ -19,6 +19,7 @@
+