Hello
I've added a graphicslayer. and a button.
var g = new GraphicsLayer(); // g is global variable: i can use this everywhere
mymap.add(g);
Button code
g.opacity = 0.5;
but nothing happening. i can see layer opacity as 0.5 on developer tools (f12) console but im seeing layer on 1 opacity.
Thanks.