MCPcopy
hub / github.com/hizzgdev/jsmind / get_selected_node

Method get_selected_node

src/jsmind.js:798–804  ·  view source on GitHub ↗

@returns {import('./jsmind.node.js').Node|null}

()

Source from the content-addressed store, hash-verified

796 }
797 /** @returns {import('./jsmind.node.js').Node|null} */
798 get_selected_node() {
799 if (!!this.mind) {
800 return this.mind.selected;
801 } else {
802 return null;
803 }
804 }
805 /** clear selection */
806 select_clear() {
807 if (!!this.mind) {

Callers 15

show_selectedFunction · 0.80
get_selected_nodeidFunction · 0.80
add_nodeFunction · 0.80
2_features.jsFile · 0.80
add_image_nodeFunction · 0.80
jsmind.jsFile · 0.80
handle_addchildMethod · 0.80
handle_addbrotherMethod · 0.80
handle_editnodeMethod · 0.80
handle_delnodeMethod · 0.80
handle_toggleMethod · 0.80
handle_upMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected