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

Method getFieldFactory

src/Form.js:169–174  ·  view source on GitHub ↗

* Returns the field factory used upon field creation inside the form. * @return {Factory} Factory

()

Source from the content-addressed store, hash-verified

167 * @return {Factory} Factory
168 */
169 getFieldFactory () {
170 if (this._fieldFactory === null) {
171 this._fieldFactory = FieldFactory.getInstance()
172 }
173 return this._fieldFactory
174 }
175
176 /**
177 * Sets the field factory used upon field creation inside the form.

Callers 2

addFieldMethod · 0.95
Form.jsFile · 0.80

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected