MCPcopy Create free account
hub / github.com/daisy/MathCAT / do_navigate_command_and_param

Function do_navigate_command_and_param

src/navigate.rs:321–323  ·  view source on GitHub ↗
(mathml: Element, command: NavigationCommand, param: NavigationParam)

Source from the content-addressed store, hash-verified

319}
320
321fn do_navigate_command_and_param(mathml: Element, command: NavigationCommand, param: NavigationParam) -> Result<String> {
322 return do_navigate_command_string(mathml, navigation_command_string(command, param));
323}
324
325pub fn do_navigate_command_string(mathml: Element, nav_command: &'static str) -> Result<String> {
326 // first check to see if nav file has been changed -- don't bother checking in loop below

Callers 3

zoom_outFunction · 0.85
move_to_startFunction · 0.85

Calls 2

Tested by 2

zoom_outFunction · 0.68
move_to_startFunction · 0.68