open(options) {
this.parameters = options.parameters || {};
this._content.innerHTML = (typeof options.template === 'string') ? options.template.trim() : '';
- this.text[options.messageIsHtml ? 'innerHtml' : 'textContent'] = options.message;
+ this.text[options.messageIsHtml ? 'innerHTML' : 'textContent'] = options.message;
if (typeof options.legacyCallback === 'function') {
this.callbackCancel = parameters => {
options.legacyCallback('cancel', parameters, this.content);
this.parameters = options.parameters || {};
this._content.innerHTML = (typeof options.template === 'string') ? options.template.trim() : '';
- this.text[options.messageIsHtml ? 'innerHtml' : 'textContent'] = options.message;
+ this.text[options.messageIsHtml ? 'innerHTML' : 'textContent'] = options.message;
if (typeof options.legacyCallback === 'function') {
this.callbackCancel = parameters => {