detail property

int get detail

The UIEvent.detail read-only property, when non-zero, provides the current (or next, depending on the event) click count.

For Element.click_event or Element.dblclick_event events, UIEvent.detail is the current click count.

For Element.mousedown_event or Element.mouseup_event events, UIEvent.detail is 1 plus the current click count.

For all other UIEvent objects, UIEvent.detail is always zero.

Implementation

external int get detail;