• Stars
    star
    446
  • Rank 97,888 (Top 2 %)
  • Language
    HTML
  • Created over 12 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

jQuery custom events swipeleft, swiperight, swipeup and swipedown

jquery.event.swipe

Dependencies

jQuery.event.move: stephband.info/jquery.event.move

One of swipeleft, swiperight, swipeup or swipedown is triggered on moveend, when the move has covered at least a threshold proportion of the dimension of the target node.

Swipe events are a thin wrapper around the moveend event, a convenience to reveal when a finger has made a swipe gesture. As such they don't bubble β€” they are retriggered on each passing of a moveend event. The underlying move events do bubble and delegate. Use them if you need more flexibility.

CommonJS

If you're using Browserify, or any other CommonJS-compatible module system, you can require this script by passing it your jQuery reference. For example,


require('./path/to/jquery.event.move.js')(jQuery);

Demo and docs

stephband.info/jquery.event.swipe

More Repositories

1

jparallax

jQuery plugin for creating interactive parallax effect
HTML
1,145
star
2

scribe

Renders music in HTML.
HTML
615
star
3

jquery.event.move

Custom events 'movestart', 'move' and 'moveend' for jQuery.
HTML
254
star
4

midi

Receive, transmit and manipulate browser MIDI events
JavaScript
54
star
5

jquery.transitions

Feature detects CSS transition support and provides two methods – .addTransitionClass() and .removeTransitionClass() – that manage transitions.
JavaScript
22
star
6

jquery.event.frame

Special event plugin providing exactly one timer to trigger 'frame' events on any number of objects.
JavaScript
21
star
7

jticker

jQuery plugin that prints elements like a ticker tape, whilst respecting the DOM tree that it tickers through
JavaScript
11
star
8

slide-show

A slideshow/carousel based on scroll snapping, implemented as the <slide-show> custom element.
HTML
11
star
9

dom

A library of functional DOM Functions and Event Streams for HTML and SVG in HTML
JavaScript
10
star
10

jquery.event.tap

jQuery tap event for more responsive touch interfaces.
JavaScript
8
star
11

jquery.choose.color

Colour chooser using Canvas to display a colour wheel. Includes opacity chooser.
JavaScript
6
star
12

bolt

class-based, evented front-end library
CSS
6
star
13

fn

A library of functional functions
JavaScript
5
star
14

music

A library of functions for analysing musical information.
JavaScript
5
star
15

sound.io

Repos for the sound.io project have been moved to
4
star
16

literal

Literal templates for the DOM
HTML
4
star
17

Color.js

Simple object for manipulating colours.
JavaScript
4
star
18

jquery.skin

A modular approach to creating user interface controls
JavaScript
4
star
19

jquery.event.scrollevents

A 'scrolltop' or 'scrollbottom' event that is triggered when the user hits the limits of a scroll.
JavaScript
3
star
20

midi-graph

A live graph of MIDI events as a browser component.
JavaScript
3
star
21

harmony-circle

An interactive cycle-of-fourths harmonic visualiser
JavaScript
3
star
22

sequencer.js

Sequencer for playback of timed event data, with a timer that compensates for latency, and realtime control of speed and offset.
JavaScript
3
star
23

colin

Colin does linear interpolation collision detection.
JavaScript
2
star
24

details-toggle

The `<details-toggle>` element.
HTML
2
star
25

guides

Adds a choice of toggle-able grid overlays to the page.
CSS
2
star
26

keys

1
star
27

midi-modules

A specification for making interoperable midi modules.
1
star
28

collection

An observable array-like object constructor.
JavaScript
1
star
29

vector

Vector() constructor
JavaScript
1
star
30

window

A static page that displays properties of the window object. Useful for quickly checking browsers.
HTML
1
star
31

stephband.github.com

CSS
1
star
32

midi-monitor

A live list display of MIDI events as a browser component.
JavaScript
1
star
33

midi-modify

A midi node for modifying messages
JavaScript
1
star
34

jquery.truncate

Text truncation for jQuery.
JavaScript
1
star
35

midi-filter

Filters MIDI events.
JavaScript
1
star
36

Audio.js

HTML5 patch to provide fallback for the Audio constructor
1
star
37

gameball

Arno and Elmars Game
HTML
1
star
38

marslander

JavaScript
1
star
39

midi-throttle

A MIDI node that throttles incoming messages to the browser's frame rate.
JavaScript
1
star
40

jquery.event.click

Special event plugin that extends the binding of 'click' events to support event delegation. An experimental alternative o using .live(). Requires jQuery 1.4.
JavaScript
1
star
41

form-elements

A collection of advanced custom elements for form controls
HTML
1
star