* Calls a function when the mouse is pressed and released over the element. * * Calling `myElement.mouseReleased(false)` disables the function. * * Note: Some mobile browsers may also trigger this event when the element * receives a quick tap. * * @param {Function|Boolean} fxn
(fxn)
| 1618 | * } |
| 1619 | */ |
| 1620 | mouseClicked(fxn) { |
| 1621 | Element._adjustListener('click', fxn, this); |
| 1622 | return this; |
| 1623 | } |
| 1624 | |
| 1625 | /** |
| 1626 | * Calls a function when the mouse moves over the element. |
no test coverage detected