The record-picker is an Angular 2 component that works similiarly to a select
input item, but displays all the choices before and after the selection is
made. An array of strings or objects can be passed to the
display in the pick list.
A working demo shows the component in action. The demo shows London Underground stops from the Bakerloo Line and allows for them to be picked.
record-picker.css and link it in the application's
record-picker.component.ts into your app and then import the
RecordPickerComponent into a component and include it in that component's
directives. For a usage example, see
- Clone this repo
- Install the dependencies:
- Run the TypeScript compiler and start the server:
- David Czeck @czeckd