Skip to content

Commit 37dce93

Browse files
committed
fixup! feat(cdk/scrolling): make scroller element configurable for virtual scrolling
1 parent c0895db commit 37dce93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cdk/scrolling/virtual-scrollable-element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {CdkVirtualScrollable, VIRTUAL_SCROLLABLE} from './virtual-scrollable';
1515
* Provides a virtual scrollable for the element it is attached to.
1616
*/
1717
@Directive({
18-
selector: '[cdk-virtual-scrollable-element], [cdkVirtualScrollableElement]',
18+
selector: '[cdkVirtualScrollingElement]',
1919
providers: [{provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableElement}],
2020
host: {
2121
'class': 'cdk-virtual-scrollable',

src/cdk/scrolling/virtual-scrollable-window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {CdkVirtualScrollable, VIRTUAL_SCROLLABLE} from './virtual-scrollable';
1717
* Provides as virtual scrollable for the global / window scrollbar.
1818
*/
1919
@Directive({
20-
selector: 'cdk-virtual-scroll-viewport[scrollable-window]',
20+
selector: 'cdk-virtual-scroll-viewport[scrollWindow]',
2121
providers: [{provide: VIRTUAL_SCROLLABLE, useExisting: CdkVirtualScrollableWindow}],
2222
})
2323
export class CdkVirtualScrollableWindow extends CdkVirtualScrollable {

0 commit comments

Comments
 (0)