MCPcopy Create free account
hub / github.com/cryptii/cryptii / renderDialog

Method renderDialog

src/View/Modal.js:265–272  ·  view source on GitHub ↗

* Renders modal dialog. * @protected * @return {HTMLElement}

()

Source from the content-addressed store, hash-verified

263 * @return {HTMLElement}
264 */
265 renderDialog () {
266 return View.createElement('div', {
267 className: 'modal__dialog'
268 }, [
269 this.renderHeader(),
270 this.renderContent()
271 ])
272 }
273
274 /**
275 * Renders modal header.

Callers 1

renderMethod · 0.95

Calls 3

renderHeaderMethod · 0.95
renderContentMethod · 0.95
createElementMethod · 0.80

Tested by

no test coverage detected