* Calls a function when the mouse is 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 function to
(fxn)
| 1578 | * } |
| 1579 | */ |
| 1580 | mouseReleased(fxn) { |
| 1581 | Element._adjustListener('pointerup', fxn, this); |
| 1582 | return this; |
| 1583 | } |
| 1584 | |
| 1585 | /** |
| 1586 | * Calls a function when the mouse is pressed and released over the element. |
no test coverage detected