botanjs/src/externs/Components.MessageBox.js
raw ยท 551 bytes
/**
* @constructor
* @param {string} title
* @param {string|HTMLElement} content
* @param {string} yes
* @param {string=} no
* @param {function(boolean, ...?): void=} handler
*/
Components.MessageBox = function(title, content, yes, no, handler) {};
/** @param {function(boolean, ...?): void} handler */
Components.MessageBox.prototype.setHandler = function(handler) {};
/** @type {function(): void} */
Components.MessageBox.prototype.show = function() {};
/** @type {function(): void} */
Components.MessageBox.prototype.close = function() {};