Author: Ken Wheeler
Date: 06/20/13
Version: 1.0b
longPressLength: int - (default: 750)
leftSelect: callback function
upSelect: callback function
rightSelect: callback function
downSelect: callback function
$('.nav').nipple({
longPressDuration: 750,
leftSelect: function() {
$('.mobile-message').text('You selected Settings!');
},
upSelect: function() {
$('.mobile-message').text('You selected Home!');
},
rightSelect: function() {
$('.mobile-message').text('You selected Comments!');
},
downSelect: function() {
$('.mobile-message').text('You selected Favorites!');
}
});
Copyright (c) 2013 Ken Wheeler
Dual licensed under the MIT and GPL licenses.
Free as in Bacon.