-
Notifications
You must be signed in to change notification settings - Fork 0
pb.HammerWrapper
Gary Soedarsono edited this page Jan 13, 2015
·
9 revisions
static
Wrapper around Hammer JS.
on(!Element el, String gestureType, !Function handler)
Registers the given gesture to the given element and handler.
el | !Element
|
The element to register. |
gestureType | String |
The type of Hammer JS gesture to register. |
handler | !Function
|
The handler function to register. |
off(!Element el, String gestureType, !Function handler)
Unregisters the given gesture from the given element and handler.
el | !Element
|
Element to unregister from. |
gestureType | String |
Type of Hammer JS gesture to register. |
handler | !Function
|
The handler function to unregister. |