Giter Site home page Giter Site logo

Comments (3)

DiamondYuan avatar DiamondYuan commented on July 1, 2024

可以试试看 capture-bind:tap

 <ant-swipe-action
          capture-bind:tap="handleTap"

from ant-design-mini.

jrz90000 avatar jrz90000 commented on July 1, 2024

可以试试看 capture-bind:tap

 <ant-swipe-action
          capture-bind:tap="handleTap"
基础用法 右侧-三个按钮

我用这个方法没有触发“handleTap”,用官网的demo版本和您给的方法也没有触发。 您那的组件是什么版本呢?可以用吗

from ant-design-mini.

jrz90000 avatar jrz90000 commented on July 1, 2024

`

基础用法

<view class="t-swipe-item-con"

    <ant-swipe-action
    capture-bind:tap="handleTap"
      data-item="{{ index }}"
      rightButtons="{{ rightBtns }}"
      elasticity="{{ true }}"
      swiped="{{ swipeIndex === index }}"
     
      bind:swipeend="onSwipeEnd"
      bind:swipestart="onSwipeStart"
      bind:buttontap="onButtonTap">
      <view class="t-swipe-item-con-view">右侧-三个按钮</view>
    </ant-swipe-action>
  </view>
</block>
`

from ant-design-mini.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.