Swipeout
Install

Install

import { Swipeout, SwipeoutItem, SwipeoutButton } from 'vux'

swipeout

swipeout

Slots

namedescriptionrequired version
default--
swipeout-item

swipeout-item

Props

nametypedefaultdescriptionrequired version
sensitivitynumber0--
auto-close-on-button-clickbooleantrue--
disabledbooleanfalse--
thresholdnumber0.3--
transition-modestringreveal--

Events

nameparamsdescriptionrequired version
@on-open------
@on-close------

Slots

namedescriptionrequired version
left-menu--
right-menu--

Functions

nameparamsdescriptionrequired version
open(direction)
close
swipeout-button

swipeout-button

Props

nametypedefaultdescriptionrequired version
textstring--
background-colorstring--
typestring--
widthstring80--
disabledbooleanfalseif disabled--
Variables

Variables

namedefaultdescriptioninherited name
@swipeout-button-primary-bg-color #1AAD19 --@button-primary-bg-color
@swipeout-button-warn-bg-color #E64340 --@button-warn-bg-color
@swipeout-button-default-bg-color #c8c7cd --
@swipeout-content-bg-color #FFF --
@swipeout-button-font-color #FFF --


Contributors

Contributors

Total commits quantity: 1,Total contributors quantity: 1

Bobjoy

Changelog

Releases

  • next [feature] Add prop:disabled
  • v2.5.5 [enhance] swipeout-item add render method #1688
  • v2.1.1-rc.9 [fix] Fix left-menu is shown when swiping right quickly
  • v2.1.1-rc.7 [fix] Fix button click on Android. #1044 @tangtaoit
  • v2.1.1-rc.14 [fix] Fix left-menu is shown when sliding back and forth #1139
  • v2.2.0 [fix] Fix cannot scroll when disabled
  • v2.2.0 [fix] Fix unable to trigger click event when disabled on android