1 const TextParamMixin
= require( './TextParamMixin.js' ),
2 UtilMixin
= require( './UtilMixin.js' );
5 * A wrapper for OO.ui.TextInputWidget
10 * @param {Object} config Configuration options
12 function PasswordParamWidget( config
) {
13 config
.type
= 'password';
14 PasswordParamWidget
.super.call( this, config
);
17 OO
.inheritClass( PasswordParamWidget
, OO
.ui
.TextInputWidget
);
18 OO
.mixinClass( PasswordParamWidget
, TextParamMixin
);
19 OO
.mixinClass( PasswordParamWidget
, UtilMixin
);
24 PasswordParamWidget
.prototype.getApiValueForDisplay = function () {
28 module
.exports
= PasswordParamWidget
;