initSelector
$.mobile.button.prototype.osptions.initSelectorはボタンとして初期化を行う要素のセレクタを設定できるプロパティです。
デフォルトは”button, [type=’button’], [type=’submit’], [type=’reset’]”。
これを変更したい場合は次のように指定を行ないます。
$( document ).on( "mobileinit", function() {
$.mobile.button.prototype.options.initSelector = ".myButtons";
});
参考URL
Button Widget | jQuery Mobile API Documentation
登録日 : 2013年06月23日 最終更新日 : 2016年12月19日
同じカテゴリー(初期設定)のエントリー
- initSelector
- transitionFallbacks
- touchOverflowEnabled
- subPageUrlKey
- phonegapNavigationEnabled
- pageLoadErrorMessageTheme
- pageLoadErrorMessage
- ns
- minScrollBack
- maxTransitionWidth
- loadingMessageTheme
- loadingMessageTextVisible
- loadingMessage
- linkBindingEnabled
- hashListeningEnabled
- gradeA
- getMaxScrollForTransition
- dynamicBaseEnabled
- defaultPageTransition
- defaultDialogTransition
- buttonMarkup.hoverDelay
- autoInitializePage
- allowCrossDomainPages
- activePageClass
- activeBtnClass
- orientationChangeEnabled
- resetTimerDuration
- clickDistanceThreshold
- moveDistanceThreshold
- verticalDistanceThreshold
- horizontalDistanceThreshold
- durationThreshold
- scrollSupressionThreshold
- tapholdThreshold
- hidePlaceholderMenuItems
- ajaxEnabled
- nativeMenu
- keepNative
- clearSearchButtonText
- ignoreContentEnabled
- domCache
- pushStateEnabled