MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / keyMode

Function keyMode

chapter24/docs/d3-graphviz.js:1305–1314  ·  view source on GitHub ↗
(keyMode)

Source from the content-addressed store, hash-verified

1303 }
1304
1305 function keyMode (keyMode) {
1306 if (!this._keyModes.has(keyMode)) {
1307 throw Error('Illegal keyMode: ' + keyMode);
1308 }
1309 if (keyMode != this._options.keyMode && this._data != null) {
1310 throw Error('Too late to change keyMode');
1311 }
1312 this._options.keyMode = keyMode;
1313 return this;
1314 }
1315
1316 function fade (enable) {
1317 this._options.fade = enable;

Callers

nothing calls this directly

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected