Remove border to button

Hi,

I want to remove the border of a button. Want to know how to achieve this.

As shown below button should have no border initially and when user places cursor it should be highlighted and focused.

The complete definition for “Button” and each kind of predefined button is provided in http://gojs.net/latest/extensions/Buttons.js. That will tell you what elements there are, what their names are, and which properties they set and how.

Maybe you want to do something such as:

     $("PanelExpanderButton",
        {
          "ButtonBorder.stroke": null,
          "_buttonStrokeOver": null
        },
                . . .