()
| 162 | } |
| 163 | |
| 164 | mouseout_handler() { |
| 165 | if (!this.model.get('hover_highlight')) { |
| 166 | return; |
| 167 | } |
| 168 | const el = d3.select(d3GetEvent().target); |
| 169 | if (this.is_hover_element(el)) { |
| 170 | el.transition('mouseout_handler') |
| 171 | .style('fill', (d, i) => { |
| 172 | return this.fill_g_colorfill(d, i); |
| 173 | }) |
| 174 | .style('stroke', (d, i) => { |
| 175 | return this.hoverfill(d, i); |
| 176 | }); |
| 177 | this.highlight_g.selectAll('.hovered').remove(); |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | click_handler() { |
| 182 | const el = d3.select(d3GetEvent().target); |
no test coverage detected