MCPcopy
hub / github.com/dcloudio/mui / createInner

Function createInner

examples/hello-mui/js/mui.js:7402–7404  ·  view source on GitHub ↗
(message, title, extra)

Source from the content-addressed store, hash-verified

7400 return '<div class="' + CLASS_POPUP_INPUT + '"><input type="text" autofocus placeholder="' + (placeholder || '') + '"/></div>';
7401 };
7402 var createInner = function(message, title, extra) {
7403 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>';
7404 };
7405 var createButtons = function(btnArray) {
7406 var length = btnArray.length;
7407 var btns = [];

Callers 3

createAlertFunction · 0.70
createConfirmFunction · 0.70
createPromptFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected