1.4.4 • Published 10 years ago

koco-select2-binding-handler v1.4.4

Weekly downloads
-
License
MIT
Repository
-
Last release
10 years ago

koco-select2-binding-handler

This binding handler is intended to integrate with the select2 ui component.

#Getting started

Install bower component

  bower install koco-select2-binding-handler

Usage with KOCO

This is a shared module that is used in many other modules. The convention is to require the handler in the knockout-binding-handlers.js file like so:

define([
  ...
  'bower_components/koco-order-by-updater-binding-handler/src/koco-select2-binding-handler'
  ...
],

It also depends upon an older version of the select2 library, which also happens to be an amd-compatible fork, which you will need to include in the require.configs.js file:

paths: {
  ...
  'select2': 'bower_components/select2-amd/select2'
  ...
}

You can then put the binding handler into action like this:

<select data-bind="select2: { minimumResultsForSearch: 10 }"></select>
],
1.4.4

10 years ago

1.4.3

10 years ago

1.4.2

10 years ago

1.4.1

10 years ago

1.4.0

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago