diff --git a/src/app/showcase/doc/treeselect/virtualscrolldoc.ts b/src/app/showcase/doc/treeselect/virtualscrolldoc.ts index aef14be8b6a..81d617a48c9 100644 --- a/src/app/showcase/doc/treeselect/virtualscrolldoc.ts +++ b/src/app/showcase/doc/treeselect/virtualscrolldoc.ts @@ -4,8 +4,8 @@ import { NodeService } from '../../service/nodeservice'; @Component({ selector: 'virtual-scroll-doc', - template: `
- + template: ` +

VirtualScrolling is an efficient way of rendering the options by displaying a small subset of data in the viewport at any time. When dealing with huge number of options, it is suggested to enable VirtualScrolling to avoid performance issues. Usage is simple as setting virtualScroll property to true and defining virtualScrollItemSize to specify the height of an item.

@@ -13,13 +13,9 @@ import { NodeService } from '../../service/nodeservice'; - -
` + ` }) export class VirtualScrollDoc { - @Input() id: string; - - @Input() title: string; nodes!: any[];