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

Method unhovered_style_updated

js/src/Graph.ts:507–517  ·  view source on GitHub ↗
(model, style)

Source from the content-addressed store, hash-verified

505 }
506
507 unhovered_style_updated(model, style) {
508 this.unhovered_style = style;
509 const hov_indices = this.hovered_index;
510 const unhovered_indices = hov_indices
511 ? _.range(this.model.mark_data.length).filter((index) => {
512 return hov_indices.indexOf(index) === -1;
513 })
514 : [];
515 this.clear_style(model.previous('unhovered_style'), unhovered_indices);
516 this.style_updated(style, unhovered_indices);
517 }
518
519 update_selected(model, value) {
520 this.selected_indices = value;

Callers

nothing calls this directly

Calls 3

clear_styleMethod · 0.95
rangeMethod · 0.80
style_updatedMethod · 0.45

Tested by

no test coverage detected