1.1.15 • Published 7 years ago

angular2-virtual-select v1.1.15

Weekly downloads
10
License
ISC
Repository
github
Last release
7 years ago

angular2-virtual-select

A native angular 2 select and multi select component with virtual scrolling to allow thousands of options in one select component.

Install

npm install --save angular2-virtual-select

Demo

See Demo Here

Import module

import {ShSelectModule} from "angular2-virtual-select";
@NgModule({
  imports: [
    BrowserModule,
    ShSelectModule.forRoot()
  ]
})

Use component

<sh-select [options]="['aaaa','bbbb']"
           [(ngModel)]="selectedItems"></sh-select>  

Use with objects

<sh-select [options]="[{name:'aaa',foo:'foo'},{name:'bbb',foo:'foo'}]"
           [(ngModel)]="selectedItems"></sh-select>  

Multi select

<sh-select [options]="[{name:'aaa',foo:'foo'},{name:'bbb',foo:'foo'}]"
           [isMultiselect]="true"
           [(ngModel)]="selectedItems"></sh-select>  
1.1.15

7 years ago

1.1.14

7 years ago

1.1.13

7 years ago

1.1.12

7 years ago

1.1.11

7 years ago

1.1.10

7 years ago

1.1.9-a3

7 years ago

1.1.9-a2

7 years ago

1.1.9-a1

7 years ago

1.1.9-a

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.2

7 years ago

1.1.2-a

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago