Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

knockout.typeahead

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knockout.typeahead - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

yarn.lock

5

knockout.typeahead.js

@@ -18,2 +18,3 @@ var ko = require("knockout");

var mapping = ko.unwrap(allBindings().mappingFunction);
var onSelect = allBindings.get("onSelectFunction");
var displayedProperty = ko.unwrap(allBindings().displayKey);

@@ -77,3 +78,5 @@ var value = allBindings.get("value");

.on("typeahead:selected typeahead:autocompleted", function (e, suggestion) {
if (value && ko.isObservable(value)) {
if (onSelect) {
onSelect(value, suggestion, e)
}else if (value && ko.isObservable(value)) {
value(suggestion);

@@ -80,0 +83,0 @@ }

2

package.json
{
"name": "knockout.typeahead",
"version": "4.0.0",
"version": "4.1.0",
"description": "Simple knockout binding which wraps Twitter typeahead.js",

@@ -5,0 +5,0 @@ "main": "knockout.typeahead.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc