初始化Swiper parameters Carousel LoopTouches Clicks Swiping / No swiping Observer Namespace Properties Methods Event autoplay Free Mode Grid Manipulation Parallax Pagination Navigation Buttons Effects Scollbar Keyboard Control Mousewheel Control Lazy Loading zoom Controller Thumbs Virtual Slides Hash Navigation History Navigation A11y 弃用属性
当前位置: 主页 > 中文api > Touches >
  • passiveListeners 日期:2020-04-09 20:04:23 点击:87 好评:62

    用来提升swiper在移动设备的中的scroll表现,但是会和e.preventDefault冲突,所以有时候你需要关掉它。...

  • touchAngle 日期:2018-11-05 11:37:24 点击:189 好评:2874

    slider1 slider2 slider3...

  • touchStartForcePreventDefault 日期:2018-11-05 11:37:01 点击:137 好评:28

    是否强制阻止`touchstart` (`mousedown`)的默认事件,即使Swiper不允许滑动(allowTouchMove:false)。...

  • touchStartPreventDefault 日期:2018-11-05 11:36:52 点击:174 好评:42

    阻止 `touchstart` (`mousedown`)的默认事件,设置为false则不阻止。...

  • touchRatio 日期:2018-09-01 10:01:30 点击:88 好评:736

    触屏比率...

  • simulateTouch 日期:2018-01-12 10:14:50 点击:121 好评:326

    true,Swiper接受鼠标事件时与触屏事件相似。(单击以及拖曳滑块)...

  • resistance 日期:2018-01-11 16:24:13 点击:76 好评:48

    值为false时禁用resistant bounds(抵抗反弹),设置为100%时启用resistant(抵抗)模式...

  • threshold 日期:2018-01-11 16:24:09 点击:89 好评:104

    滑动的临界值,临界值单位为px,如果触屏距离小于该值滑块不会运动。...

  • resistanceRatio 日期:2018-01-11 16:24:06 点击:80 好评:76

    resistant bounds(抵抗反弹)抵抗力的大小比例。设定为1时抵抗力达到100%完全无法将slide拖出边缘。...

  • touchReleaseOnEdges 日期:2018-01-11 16:24:03 点击:77 好评:114

    slider1 slider2 slider3...

推荐内容