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

Method render

src/View/Field.js:86–93  ·  view source on GitHub ↗

* Renders view. * @protected * @return {HTMLElement}

()

Source from the content-addressed store, hash-verified

84 * @return {HTMLElement}
85 */
86 render () {
87 return View.createElement('div', {
88 className: 'field' + (this._first ? ' field--first' : '')
89 }, [
90 this.renderLabel(),
91 this.renderField()
92 ])
93 }
94
95 /**
96 * Renders label.

Callers

nothing calls this directly

Calls 3

renderLabelMethod · 0.95
renderFieldMethod · 0.95
createElementMethod · 0.80

Tested by

no test coverage detected