var checkboxInputBinding = new InputBinding();
$.extend(checkboxInputBinding, {
find: function(scope) {
return $(scope).find('input[type="checkbox"]');
},
// ....; Extra code removed
}
});
inputBindings.register(checkboxInputBinding, 'shiny.checkboxInput');