mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-06 12:44:58 -05:00
11 lines
297 B
JavaScript
11 lines
297 B
JavaScript
var passwordInputBinding = {};
|
|
$.extend(passwordInputBinding, textInputBinding, {
|
|
find: function(scope) {
|
|
return $(scope).find('input[type="password"]');
|
|
},
|
|
getType: function(el) {
|
|
return "shiny.password";
|
|
}
|
|
});
|
|
inputBindings.register(passwordInputBinding, 'shiny.passwordInput');
|