knockout-place-picker
v3.0.3
Published
Knockout component to pick a FIPs place.
Downloads
3
Readme
Knockout Place Picker
Knockout component to pick a FIPs place.
Installation
npm install knockout-place-picker --save
How to Use
require
the script and use it as a binding handler:
<span data-bind="placePicker: myPlace"></span>
where myPlace
is an observable you want two-way bound to the component. In the case of place picker, this is an object containing the selected suggestion from typeahead results, or undefined
if nothing is selected.
This component complements and can be used with the Knockout Place Viewer