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

Method change_selected_stroke

js/src/Map.ts:315–329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313 }
314
315 change_selected_stroke() {
316 if (
317 !this.validate_color(this.model.get('selected_styles').selected_stroke)
318 ) {
319 this.highlight_g.selectAll('.selected').style('stroke-width', 0.0);
320 } else {
321 this.highlight_g
322 .selectAll('.selected')
323 .style(
324 'stroke-width',
325 this.model.get('selected_styles').selected_stroke_width
326 )
327 .style('stroke', this.model.get('selected_styles').selected_stroke);
328 }
329 }
330
331 change_selected() {
332 this.highlight_g.selectAll('path').remove();

Callers 1

create_listenersMethod · 0.95

Calls 1

validate_colorMethod · 0.95

Tested by

no test coverage detected