touchOverflowEnabled

このエントリーをはてなブックマークに追加

$.mobile.touchOverflowEnabledはページ遷移時のアニメーション固定配置をよりスムーズにする設定です。

$(document).on("mobileinit", function(){
	$.mobile.touchOverflowEnabled = true;
});

デフォルトはfalseですが、この値にtureを指定することで固定配置をCSSのoverflowやoverflow-scrolling: touchに切り替えて、よりスムーズに動作するようになります。

jQuery Mobile 1.1より、固定配置はCSSのposition:fixedに変更されておりこの設定は非推奨となっております。

参考URL

Configuring Defaults | jQuery Mobile API Documentation

登録日 : 2013年06月10日 最終更新日 : 2016年12月19日

同じカテゴリー(初期設定)のエントリー

検索

スポンサードリンク

バージョン

リファレンス