MCPcopy Index your code
hub / github.com/hizzgdev/jsmind / toggle

Function toggle

example/2_features.js:358–366  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

356}
357
358function toggle() {
359 var selected_id = get_selected_nodeid();
360 if (!selected_id) {
361 prompt_info('please select a node first.');
362 return;
363 }
364
365 _jm.toggle_node(selected_id);
366}
367
368function expand_all() {
369 _jm.expand_all();

Callers

nothing calls this directly

Calls 3

get_selected_nodeidFunction · 0.85
prompt_infoFunction · 0.85
toggle_nodeMethod · 0.45

Tested by

no test coverage detected