• Devristo's avatar
    Added KnockoutJS data-binding support · 00ebed1b
    Devristo authored
    Added KnockoutJS support by using a custom 'multiselect' binding handler.
    
    Example:
    
    1. Define select input
    -------------------------
    <select class="multiSelect" data-bind="multiselect: true,options: Options, selectedOptions: SelectedOptions, optionsValue: $data" multiple="multiple"></select>
    
    1. Initialize Bootstrap-multiselect
    -------------------------------------
    $(".multiSelect").multiselect();
    
    3 .Apply view model
    00ebed1b
bootstrap-multiselect.js 8.54 KB