MCPcopy Create free account
hub / github.com/dcloudio/mui / createInput

Function createInput

examples/hello-mui/js/mui.js:7117–7119  ·  view source on GitHub ↗
(placeholder)

Source from the content-addressed store, hash-verified

7115 }());
7116
7117 var createInput = function(placeholder) {
7118 return '<div class="' + CLASS_POPUP_INPUT + '"><input type="text" autofocus placeholder="' + (placeholder || '') + '"/></div>';
7119 };
7120 var createInner = function(message, title, extra) {
7121 return '<div class="' + CLASS_POPUP_INNER + '"><div class="' + CLASS_POPUP_TITLE + '">' + title + '</div><div class="' + CLASS_POPUP_TEXT + '">' + message.replace(/\r\n/g, "<br/>").replace(/\n/g, "<br/>") + '</div>' + (extra || '') + '</div>';
7122 };

Callers 1

createPromptFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected