hide context menu
This commit is contained in:
parent
fd7efcbf73
commit
e89a166354
@ -57,14 +57,14 @@ export class Visual implements IVisual {
|
|||||||
this.container = options.element;
|
this.container = options.element;
|
||||||
this.host=options.host;
|
this.host=options.host;
|
||||||
this.selectionManager=this.host.createSelectionManager();
|
this.selectionManager=this.host.createSelectionManager();
|
||||||
// d3.select(this.container).on("contextmenu", () => {
|
d3.select(this.container).on("contextmenu", () => {
|
||||||
// const mouseEvent: MouseEvent = <MouseEvent>d3.event;
|
const mouseEvent: MouseEvent = <MouseEvent>d3.event;
|
||||||
// this.selectionManager.showContextMenu({}, {
|
this.selectionManager.showContextMenu({}, {
|
||||||
// x: mouseEvent.clientX,
|
x: mouseEvent.clientX,
|
||||||
// y: mouseEvent.clientY
|
y: mouseEvent.clientY
|
||||||
// });
|
});
|
||||||
// mouseEvent.preventDefault();
|
mouseEvent.preventDefault();
|
||||||
// });
|
});
|
||||||
}
|
}
|
||||||
private initial() {
|
private initial() {
|
||||||
if (this.innerContainer) {
|
if (this.innerContainer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user