Hello Guys,
Am using context menu which on initial load is on black text color and on mouse hover backgroung shou should be red color with color of the text should be white color
contextMenu: $(
'ContextMenu',
{ width: 160 },
$(
'ContextMenuButton',
$(go.TextBlock, 'Delete element', {
font: '18px ',
stroke: 'black',
alignment: go.Spot.Left,
margin: new go.Margin(7, 16, 7, 16),
}),
{
_buttonFillOver: 'red',
},
{
click: (e, node) => removeData(e, node.part),
},
)
),
With the above code am seeing context menu initially with text in black color and when we mouse hover am seeing the background in red color , but how to change the stroke to white.
So i can see context menu on mouse hover → white text in red background color
Thanks in Advance
J