Fast Clicks
Fast clicks is a built-in library that removes click delay from links and form elements in mobile browser while you click them. Modern browsers are smart enough to eliminate that click delay. You can enable this built-in library in app parameters if you target old devices or experience click delays:
var app = new Framework7({
touch: {
// Enable fast clicks
fastClicks: true,
}
});
no-fastclick Class
If you have enabled Fast Clicks and want to disable it on some specific element then just add no-fastclick
class to the required element:
<a href="#">Fast Click</a>
<a href="#" class="no-fastclick">Usual Click</a>
当前内容版权归 Framework7 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Framework7 .