Share via


Sys.UI.DomEvent button Field

Gets a Sys.UI.MouseButton enumeration value that indicates the button state of the mouse when the related event occurred.

var buttonVal = domEventVar.button;

Return Value

A MouseButton value.

Remarks

Use the button field to determine which mouse button was pressed when the related event occurred.

See Also

Reference

Sys.UI.DomEvent Class

Other Resources

Language Reference