在jquery UI拖拽效果中,如何找到被拖拽的拖拽效果?
$('#test').droppable({
drop: function (e,ui) {
//$(this) means the drop-container
//How can I use the "ui" parameter find the being draged one?
}
}
}
我需要同样的iPhone手机应用程序拨号垫删除或清除按钮的功能时,长按。我尝试在按钮中添加长按手势,并编写了这段代码,但它正在完全删除文本。如何实现清除或删除具有动画效果的文本。
if (longPressGesture.state == UIGestureRecognizerStateBegan) {
// If delete button tag find then delete the number
if ([self.phoneNumberString length] > 0) {
self.phoneNumberSt