A native angular 2 select and multi select component with virtual scrolling to allow thousands of options in one select component
npm install angular2-virtual-selectjavascript
import {ShSelectModule} from "angular2-virtual-select";
@NgModule({
imports: [
BrowserModule,
ShSelectModule.forRoot()
]
})
`
Use component
`html
[(ngModel)]="selectedItems">
`Use with objects
`html
[(ngModel)]="selectedItems">
`Multi select
`html
[isMultiselect]="true"
[(ngModel)]="selectedItems">
``