Easy Tutorial
❮ Jquerymobile Transitions Jquerymobile Ref Icons ❯

jQuery Mobile swipeleft Event

jQuery Mobile Events

Example

Swipe left horizontally on a <p> element to hide it:


Definition and Usage

The swipeleft event is triggered when a horizontal swipe left of more than 30px (with vertical movement less than 75px) occurs within one second.

Related Events:


Syntax

Parameter Description
function(event) Required. Specifies the function to run when the swipeleft event is triggered. <br> <br>The function has an optional event object, which can be any jQuery event property (e.g., event.target, event.type, etc.). For more information, see the jQuery Event Reference

More Examples

Event Object


jQuery Mobile Events

❮ Jquerymobile Transitions Jquerymobile Ref Icons ❯