diff --git a/components/lib/virtualscroller/BaseVirtualScroller.vue b/components/lib/virtualscroller/BaseVirtualScroller.vue new file mode 100644 index 000000000..eafacb461 --- /dev/null +++ b/components/lib/virtualscroller/BaseVirtualScroller.vue @@ -0,0 +1,194 @@ + diff --git a/components/lib/virtualscroller/VirtualScroller.d.ts b/components/lib/virtualscroller/VirtualScroller.d.ts index deb0f2aad..ec600a1f8 100644 --- a/components/lib/virtualscroller/VirtualScroller.d.ts +++ b/components/lib/virtualscroller/VirtualScroller.d.ts @@ -308,6 +308,11 @@ export interface VirtualScrollerProps { * @type {VirtualScrollerPassThroughOptions} */ pt?: VirtualScrollerPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** @@ -408,7 +413,12 @@ export interface VirtualScrollerSlots { /** * Custom loading icon template. */ - loadingicon(): VNode[]; + loadingicon(scope: { + /** + * Style class of the icon. + */ + class: string; + }): VNode[]; } /** diff --git a/components/lib/virtualscroller/VirtualScroller.vue b/components/lib/virtualscroller/VirtualScroller.vue index d3936da09..7461a8976 100644 --- a/components/lib/virtualscroller/VirtualScroller.vue +++ b/components/lib/virtualscroller/VirtualScroller.vue @@ -1,9 +1,9 @@