When I click on that node that properties will show on Material dialog box instead of alertbox.
how to add dialog variable in contextmenu function.
Ex:
import { MatDialog } from ‘@angular/material/dialog’;
export class AppComponent{
constuctor(public dialog: MatDialog){}
$(“ContextMenuButton”,
$(go.TextBlock, "Edit",
{ font: "bold 16px sans-serif",textAlign:"center",width:50,height:20,margin: 8, stroke: "royalblue"}
),
{ click: function(e, obj){ } } // How to use dialog variable here inside function
)
}