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

Function change_background_color

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

Source from the content-addressed store, hash-verified

271}
272
273function change_background_color() {
274 var selected_id = get_selected_nodeid();
275 if (!selected_id) {
276 prompt_info('please select a node first.');
277 return;
278 }
279
280 _jm.set_node_color(selected_id, '#eee', null);
281}
282
283function change_background_image() {
284 var selected_id = get_selected_nodeid();

Callers

nothing calls this directly

Calls 3

get_selected_nodeidFunction · 0.85
prompt_infoFunction · 0.85
set_node_colorMethod · 0.80

Tested by

no test coverage detected