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

Method addFields

src/Form.js:57–60  ·  view source on GitHub ↗

* Adds multiple fields to the form. * @param {Field[]|object[]} fieldsOrSpecs Array of field instances or * spec objects * @return {Form} Fluent interface

(fieldsOrSpecs)

Source from the content-addressed store, hash-verified

55 * @return {Form} Fluent interface
56 */
57 addFields (fieldsOrSpecs) {
58 fieldsOrSpecs.forEach(this.addField.bind(this))
59 return this
60 }
61
62 /**
63 * Returns field instance for given name.

Callers 3

constructorMethod · 0.95
Form.jsFile · 0.80
addSettingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected