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

Function change_background_image

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

Source from the content-addressed store, hash-verified

281}
282
283function change_background_image() {
284 var selected_id = get_selected_nodeid();
285 if (!selected_id) {
286 prompt_info('please select a node first.');
287 return;
288 }
289
290 _jm.set_node_background_image(selected_id, 'ant.png', 100, 100);
291}
292
293function set_theme(theme_name) {
294 _jm.set_theme(theme_name);

Callers

nothing calls this directly

Calls 3

get_selected_nodeidFunction · 0.85
prompt_infoFunction · 0.85

Tested by

no test coverage detected