MCPcopy
hub / github.com/VincentGarreau/particles.js / setMode

Function setMode

demo/js/lib/stats.js:65–81  ·  view source on GitHub ↗
( value )

Source from the content-addressed store, hash-verified

63 }
64
65 var setMode = function ( value ) {
66
67 mode = value;
68
69 switch ( mode ) {
70
71 case 0:
72 fpsDiv.style.display = 'block';
73 msDiv.style.display = 'none';
74 break;
75 case 1:
76 fpsDiv.style.display = 'none';
77 msDiv.style.display = 'block';
78 break;
79 }
80
81 };
82
83 var updateGraph = function ( dom, value ) {
84

Callers 1

StatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…