I was trying to understand how OOjs-UI input widgets work, and found this code:
/** * Get input element. * * @private * @param {Object} [config] Configuration options * @return {jQuery} Input element */ OO.ui.InputWidget.prototype.getInputElement = function () { return this.$( '<input>' ); };
Is the config parameter needed here? I suspect that it is, but I might be wrong.
See also T87648.