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

Method setSettingValues

src/Brick.js:202–205  ·  view source on GitHub ↗

* Applies each setting value in given map. * @param {object} namedValues Map of names pointing to setting values * @throws {Error} If no setting is assigned to given setting name. * @return {Brick} Fluent interface

(namedValues)

Source from the content-addressed store, hash-verified

200 * @return {Brick} Fluent interface
201 */
202 setSettingValues (namedValues) {
203 this._settingsForm.setFieldValues(namedValues)
204 return this
205 }
206
207 /**
208 * Returns true, if the brick is valid.

Callers 8

testMethod · 0.80
copyMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
settingValueDidChangeMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80

Calls 1

setFieldValuesMethod · 0.80

Tested by 1

testMethod · 0.64