MCPcopy Index your code
hub / github.com/bqplot/bqplot / process_interactions

Function process_interactions

js/src/Mark.ts:494–520  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

492 }
493
494 process_interactions() {
495 //configure default interactions
496 const interactions = this.model.get('interactions');
497
498 if (is_defined(interactions.click)) {
499 this.process_click(interactions.click);
500 } else {
501 this.reset_click();
502 }
503
504 if (is_defined(interactions.hover)) {
505 this.process_hover(interactions.hover);
506 } else {
507 this.reset_hover();
508 }
509
510 if (is_defined(interactions.legend_click)) {
511 this.process_legend_click(interactions.legend_click);
512 } else {
513 this.reset_legend_click();
514 }
515 if (is_defined(interactions.legend_hover)) {
516 this.process_legend_hover(interactions.legend_hover);
517 } else {
518 this.reset_legend_hover();
519 }
520 }
521
522 mouse_over() {
523 if (this.model.get('enable_hover')) {

Callers

nothing calls this directly

Calls 3

is_definedFunction · 0.85
process_hoverMethod · 0.80
process_clickMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…