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

Method setWidth

src/Field.js:133–140  ·  view source on GitHub ↗

* Sets the field with. * @param {number} width Number of columns (1-12) * @return {Field} Fluent interface

(width)

Source from the content-addressed store, hash-verified

131 * @return {Field} Fluent interface
132 */
133 setWidth (width) {
134 this._width = width
135 this.updateView()
136 if (this._delegate && this._delegate.fieldNeedsLayout) {
137 this._delegate.fieldNeedsLayout(this)
138 }
139 return this
140 }
141
142 /**
143 * Returns the delegate.

Callers 2

Field.jsFile · 0.80
applyModelMethod · 0.80

Calls 2

updateViewMethod · 0.80
fieldNeedsLayoutMethod · 0.80

Tested by

no test coverage detected