{"id":344,"date":"2014-09-14T09:50:36","date_gmt":"2014-09-14T00:50:36","guid":{"rendered":"https:\/\/www.gwaw.jp\/2014\/?p=344"},"modified":"2014-09-14T10:03:48","modified_gmt":"2014-09-14T01:03:48","slug":"jquery-mobile-%e3%81%ae-swipe-%e3%82%92%e8%aa%bf%e6%95%b4","status":"publish","type":"post","link":"http:\/\/www.gwaw.jp\/2014\/?p=344","title":{"rendered":"jQuery Mobile \u306e swipe \u3092\u8abf\u6574"},"content":{"rendered":"<p>\u3053\u306e\u30b5\u30a4\u30c8\u306e <a href=\"http:\/\/www.gwaw.jp\/2014\/\">gwaw.jp 2014<\/a> \u3068 <a href=\"http:\/\/www.gwaw.jp\/m\/\">gwaw.jp mobile<\/a> \u306f\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u7528\u306b jQuery Mobile \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/www.gwaw.jp\/2014\/wp-content\/uploads\/sites\/3\/2014\/09\/wpid-screenshot_2014-09-14-09-10-28011.png\"><img decoding=\"async\" title=\"Screenshot_2014-09-14-09-10-28~01.png\" class=\"alignnone size-full\" alt=\"image\" src=\"http:\/\/www.gwaw.jp\/2014\/wp-content\/uploads\/sites\/3\/2014\/09\/wpid-screenshot_2014-09-14-09-10-2801.png\" \/><\/a> <\/p>\n<div class=\"float-clear\">&nbsp;<\/div>\n<p>\u305d\u3057\u3066\u3001\u30da\u30fc\u30b8\u9001\u308a\u306b\u30b9\u30ef\u30a4\u30d7\u3092\u8a66\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u3053\u308c\u307e\u3067\u64cd\u4f5c\u611f\u304c\u601d\u3063\u3066\u3044\u305f\u3088\u308a\u3061\u3087\u3063\u3068\u9055\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u6c17\u306b\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001JQuery Mobile API Documentation \u306e swipe \u30da\u30fc\u30b8 <a href=\"http:\/\/api.jquerymobile.com\/swipe\/\" target=_blank\">http:\/\/api.jquerymobile.com\/swipe\/<\/a> \u3092\u53c2\u7167\u3057\u3066\u3001\u3061\u3087\u3063\u3068\u8abf\u6574\u3092\u3044\u308c\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p>\n$.event.special.swipe.scrollSupressionThreshold (default: 10px) \u2013 More than this horizontal displacement, and we will suppress scrolling.\n<\/p><\/blockquote>\n<p>\uff08\u3053\u306e\u6c34\u5e73\u5909\u4f4d\u3088\u308a\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u6291\u5236\u3059\u308b\u3002\uff09<\/p>\n<blockquote><p>\n$.event.special.swipe.durationThreshold (default: 1000ms) \u2013 More time than this, and it isn&#8217;t a swipe.\n<\/p><\/blockquote>\n<p>\uff08\u3053\u306e\u6642\u9593\u4ee5\u4e0a\u306f\u30b9\u30ef\u30a4\u30d7\u3068\u3057\u306a\u3044\u3002\uff09<\/p>\n<blockquote><p>\n$.event.special.swipe.horizontalDistanceThreshold (default: 30px) \u2013 Swipe horizontal displacement must be more than this.\n<\/p><\/blockquote>\n<p>\uff08\u30b9\u30ef\u30a4\u30d7\u6c34\u5e73\u5909\u4f4d\u306f\u3001\u3053\u308c\u4ee5\u4e0a\u3067\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002\uff09<\/p>\n<blockquote><p>\n$.event.special.swipe.verticalDistanceThreshold (default: 75px) \u2013 Swipe vertical displacement must be less than this.\n<\/p><\/blockquote>\n<p>\uff08\u30b9\u30ef\u30a4\u30d7\u5782\u76f4\u5909\u4f4d\u306f\u3001\u3053\u308c\u3088\u308a\u5c0f\u3055\u304f\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002\uff09<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u30bf\u30c3\u30c1\u306e\u30d6\u30ec\u3067\u3082\u30b9\u30ef\u30a4\u30d7\u3057\u3066\u3057\u307e\u3044\u3001\u611f\u5ea6\u304c\u9ad8\u304f\u611f\u3058\u3089\u308c\u307e\u3057\u305f\u306e\u3067\u3001\u3053\u308c\u307e\u3067\u306f\u30b9\u30ef\u30a4\u30d7\u3057\u306b\u304f\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u3001\u3082\u3046\u5c11\u3057\u898b\u76f4\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p> $.event.special.swipe.scrollSupressionThreshold = 60;\n<\/p><\/blockquote>\n<p>\uff08\u30b9\u30af\u30ed\u30fc\u30eb\u30bf\u30c3\u30c1\u306e\u3061\u3087\u3063\u3068\u3057\u305f\u6c34\u5e73\u65b9\u5411\u306e\u30d6\u30ec\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u6291\u6b62\u306b\u306a\u308b\u305f\u3081\u3001\u6570\u5024\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3088\u308a\u5897\u3084\u3057\u3066\u3044\u307e\u3059\u3002\uff09<\/p>\n<blockquote><p>\n$.event.special.swipe.durationThreshold = 1000;\n<\/p><\/blockquote>\n<p>\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u3068\u3057\u3066\u3044\u307e\u3059\u3002\uff09<\/p>\n<blockquote><p>\n$.event.special.swipe.horizontalDistanceThreshold = 60;\n<\/p><\/blockquote>\n<p>\uff08\u3061\u3087\u3063\u3068\u3057\u305f\u30bf\u30c3\u30c1\u306e\u6c34\u5e73\u65b9\u5411\u306e\u52d5\u304d\u3067\u30b9\u30ef\u30a4\u30d7\u3068\u306a\u308b\u305f\u3081 \u3001\u6570\u5024\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3088\u308a\u5897\u3084\u3057\u3066\u3044\u307e\u3059\u3002\uff09<\/p>\n<blockquote><p>\n $.event.special.swipe.verticalDistanceThreshold = 20;\n<\/p><\/blockquote>\n<p>\uff08\u305f\u3068\u3048\u3070\u30ca\u30ca\u30e1\u65b9\u5411\u306e\u3061\u3087\u3063\u3068\u3057\u305f\u30bf\u30c3\u30c1\u306e\u52d5\u304d\u3067\u30b9\u30ef\u30a4\u30d7\u3068\u306a\u308b\u305f\u3081 \u3001\u6570\u5024\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3088\u308a\u6e1b\u3089\u3057\u3066\u3044\u307e\u3059\u3002\uff09<\/p>\n<p>\u3053\u306e\u30b5\u30a4\u30c8\u3067\u306f\u3001\u30da\u30fc\u30b8\u9001\u308a\u306e\u3068\u304d\u306b\u30da\u30fc\u30b8\u8aad\u307f\u8fbc\u307f\u3092\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30b9\u30ef\u30a4\u30d7\u672c\u6765\u306e\u4f53\u9a13\u306f\u5f97\u3089\u308c\u307e\u305b\u3093\u304c\u3001\u6a5f\u4f1a\u3092\u898b\u3064\u3051\u3066 JQuery Mobile \u306e\u30b9\u30ef\u30a4\u30d7\u3092\u3044\u304b\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30b5\u30a4\u30c8\u306e gwaw.jp 2014 \u3068 gwaw.jp mobile \u306f\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u7528\u306b jQuery Mobile \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002 &nbsp; \u305d\u3057\u3066\u3001\u30da\u30fc\u30b8\u9001\u308a\u306b\u30b9\u30ef\u30a4\u30d7\u3092\u8a66\u3057\u3066\u3044\u307e\u3059\u3002 \u305f\u3060\u3001\u3053\u308c\u307e\u3067 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-344","post","type-post","status-publish","format-standard","hentry","category-9"],"_links":{"self":[{"href":"http:\/\/www.gwaw.jp\/2014\/index.php?rest_route=\/wp\/v2\/posts\/344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gwaw.jp\/2014\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gwaw.jp\/2014\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gwaw.jp\/2014\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gwaw.jp\/2014\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=344"}],"version-history":[{"count":6,"href":"http:\/\/www.gwaw.jp\/2014\/index.php?rest_route=\/wp\/v2\/posts\/344\/revisions"}],"predecessor-version":[{"id":352,"href":"http:\/\/www.gwaw.jp\/2014\/index.php?rest_route=\/wp\/v2\/posts\/344\/revisions\/352"}],"wp:attachment":[{"href":"http:\/\/www.gwaw.jp\/2014\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gwaw.jp\/2014\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=344"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gwaw.jp\/2014\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}