mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-04 03:45:23 +00:00
fix: types
This commit is contained in:
parent
55e4828adc
commit
a5ce95e9c1
@ -141,13 +141,13 @@ export default class ListGraph {
|
|||||||
.attr("class", "trace-node")
|
.attr("class", "trace-node")
|
||||||
.attr("style", "cursor: pointer")
|
.attr("style", "cursor: pointer")
|
||||||
.style("opacity", 0)
|
.style("opacity", 0)
|
||||||
.on("mouseover", function (event: any, d: Trace) {
|
.on("mouseover", function (event: MouseEvent, d: Trace) {
|
||||||
t.tip.show(d, this);
|
t.tip.show(d, this);
|
||||||
})
|
})
|
||||||
.on("mouseout", function (event: any, d: Trace) {
|
.on("mouseout", function (event: MouseEvent, d: Trace) {
|
||||||
t.tip.hide(d, this);
|
t.tip.hide(d, this);
|
||||||
})
|
})
|
||||||
.on("click", (event: any, d: Trace) => {
|
.on("click", (event: MouseEvent, d: Trace) => {
|
||||||
if (this.handleSelectSpan) {
|
if (this.handleSelectSpan) {
|
||||||
this.handleSelectSpan(d);
|
this.handleSelectSpan(d);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user