Warning: strpos() expects parameter 1 to be string, array given in /home/miyucolor/www/risalog/wordpress/wp-includes/blocks.php on line 50

Warning: strpos() expects parameter 1 to be string, array given in /home/miyucolor/www/risalog/wordpress/wp-includes/blocks.php on line 50

Warning: Cannot modify header information - headers already sent by (output started at /home/miyucolor/www/risalog/wordpress/wp-includes/blocks.php:50) in /home/miyucolor/www/risalog/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/miyucolor/www/risalog/wordpress/wp-includes/blocks.php:50) in /home/miyucolor/www/risalog/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/miyucolor/www/risalog/wordpress/wp-includes/blocks.php:50) in /home/miyucolor/www/risalog/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/miyucolor/www/risalog/wordpress/wp-includes/blocks.php:50) in /home/miyucolor/www/risalog/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/miyucolor/www/risalog/wordpress/wp-includes/blocks.php:50) in /home/miyucolor/www/risalog/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/miyucolor/www/risalog/wordpress/wp-includes/blocks.php:50) in /home/miyucolor/www/risalog/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/miyucolor/www/risalog/wordpress/wp-includes/blocks.php:50) in /home/miyucolor/www/risalog/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648

Warning: Cannot modify header information - headers already sent by (output started at /home/miyucolor/www/risalog/wordpress/wp-includes/blocks.php:50) in /home/miyucolor/www/risalog/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 1648
{"id":209,"date":"2020-09-01T13:17:10","date_gmt":"2020-09-01T04:17:10","guid":{"rendered":"http:\/\/risalog.org\/?p=209"},"modified":"2020-11-11T11:35:20","modified_gmt":"2020-11-11T02:35:20","slug":"swiper-js","status":"publish","type":"post","link":"https:\/\/risalog.org\/swiper-js\/","title":{"rendered":"Swiper.js \u30b9\u30e9\u30a4\u30c0\u30fc \u30b3\u30fc\u30c9\u307e\u3068\u3081"},"content":{"rendered":"\n

Swiper.js<\/h2>\n\n\n\n

https:\/\/swiperjs.com\/api\/<\/a><\/p>\n\n\n\n

<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Swiper\/3.4.1\/css\/swiper.min.css\">\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Swiper\/3.4.1\/js\/swiper.min.js\"><\/script><\/code><\/pre>\n\n\n\n
<!-- Slider main container -->\n<div class=\"swiper-container\">\n  <!-- Additional required wrapper -->\n  <div class=\"swiper-wrapper\">\n    <!-- Slides -->\n    <div class=\"swiper-slide\">Slide 1<\/div>\n    <div class=\"swiper-slide\">Slide 2<\/div>\n    <div class=\"swiper-slide\">Slide 3<\/div>\n    ...\n  <\/div>\n  <!-- If we need pagination -->\n  <div class=\"swiper-pagination\"><\/div>\n  <!-- If we need navigation buttons -->\n  <div class=\"swiper-button-prev\"><\/div>\n  <div class=\"swiper-button-next\"><\/div>\n  <!-- If we need scrollbar -->\n  <div class=\"swiper-scrollbar\"><\/div>\n<\/div>\n\n<script>\n  var mySwiper = new Swiper('.swiper-container', {\n    loop: true,\n    loopAdditionalSlides: 3,\n    autoplayDisableOnInteraction: false,\n    slidesPerView: 1.5,\n    spaceBetween: 30,\n    centeredSlides: true,\n    speed: 1000,\n    autoplay: 3000,\n    observer: true,\n    observeParents: true,\n    preventClicks: true,\n    preventClicksPropagation: true,\n    paginationClickable: true,\n    pagination: '.swiper-pagination',\n    nextButton: '.swiper-button-next',\n    prevButton: '.swiper-button-prev'\n  })\n<\/script><\/code><\/pre>\n\n\n\n

\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u3001\u30a2\u30ed\u30fc\u306e\u30af\u30ea\u30c3\u30af\u5f8c\u306b\u30aa\u30fc\u30c8\u30d7\u30ec\u30fc\u304c\u6b62\u307e\u308b\u3068\u304d\u3002
My swiper with Swiper.js stop autoplay after slide it with finger, why?<\/a>
autoplaydisableOnInteraction: Set to false and autoplay will not be disabled after user interactions (swipes), it will be restarted every time after interaction.<\/p>\n\n\n\n

autoplayDisableOnInteraction: false,\n<\/code><\/pre>\n\n\n\n

2\u30eb\u30fc\u30d7\u76ee\u4ee5\u964d\u306e2\u500b\u76ee\u306e\u30b9\u30e9\u30a4\u30c9\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3068\u304d\u3002
Slide disappear when using loop and centeredSlides<\/a>
loopAdditionalSlides: Addition number of slides that will be cloned after creating of loop.<\/p>\n\n\n\n

loopAdditionalSlides: 3,<\/code><\/pre>\n\n\n\n

\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u3067\u4e0a\u624b\u304f\u8868\u793a\u3055\u308c\u306a\u3044\u3068\u304d\u3002
Swiper slider not working unless page is resized<\/a>
observer: Set to true<\/strong> to enable Mutation Observer on Swiper and its elements. In this case Swiper will be updated (reinitialized) each time if you change its style (like hide\/show) or modify its child elements (like adding\/removing slides).

observeParents: Set to true<\/strong> if you also need to watch Mutations for Swiper parent elements.<\/p>\n\n\n\n

observer: true,\nobserveParents: true,<\/code><\/pre>\n\n\n\n

\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u306e\u30c9\u30c3\u30c8\u304c\u30af\u30ea\u30c3\u30af\u3067\u304d\u306a\u3044\u3068\u304d\u3002
clickableClickable: If true<\/strong> then clicking on pagination button will cause transition to appropriate slide. Only for bullets<\/strong> pagination type.<\/p>\n\n\n\n

paginationClickable: true,\n<\/code><\/pre>\n\n\n\n

\u30b9\u30ef\u30a4\u30d7\u4e2d\u306b\u30ea\u30f3\u30af\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u308b\u306e\u3092\u9632\u3050\u3002
preventClicks: Set to true<\/strong> to prevent accidental unwanted clicks on links during swiping.<\/p>\n\n\n\n

preventClicks: true,<\/code><\/pre>\n\n\n\n

preventClicksPropagation: Set to true<\/strong> to stop clicks event propagation on links during swiping.<\/p>\n\n\n\n

preventClicksPropagation: true,<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"

Swiper.js https:\/\/swiperjs.com\/api\/ \u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u3001\u30a2\u30ed\u30fc\u306e\u30af\u30ea\u30c3\u30af\u5f8c\u306b\u30aa\u30fc\u30c8\u30d7\u30ec\u30fc\u304c\u6b62\u307e\u308b\u3068\u304d\u3002My swiper with Swiper.js stop autoplay aft […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_locale":"ja","_original_post":"http:\/\/risalog.org\/?p=209"},"categories":[5,17],"tags":[15,11],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/risalog.org\/wp-json\/wp\/v2\/posts\/209"}],"collection":[{"href":"https:\/\/risalog.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/risalog.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/risalog.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/risalog.org\/wp-json\/wp\/v2\/comments?post=209"}],"version-history":[{"count":15,"href":"https:\/\/risalog.org\/wp-json\/wp\/v2\/posts\/209\/revisions"}],"predecessor-version":[{"id":1023,"href":"https:\/\/risalog.org\/wp-json\/wp\/v2\/posts\/209\/revisions\/1023"}],"wp:attachment":[{"href":"https:\/\/risalog.org\/wp-json\/wp\/v2\/media?parent=209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/risalog.org\/wp-json\/wp\/v2\/categories?post=209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/risalog.org\/wp-json\/wp\/v2\/tags?post=209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}