Skip to content
On this page

VActionSheet ​

Bottom ActionSheet screen that is able to support different operations.

Import ​

js
import { VActionSheet } from 'vui-vc-next'

app.component(VActionSheet.name, VActionSheet)

API ​

ActionSheet Props ​

PropsDescriptionTypeDefaultNote
v-modeldisplay ActionSheet or notBooleanfalse-
titletitle of ActionSheetString--
optionsoptions of ActionSheetArray<{label, value}>[]-
default-indexdefault selected indexBoolean0-
invalid-indexinvalid indexNumber-1-
cancel-textcancel textStringCancel-
large-radiuslarge radiusBooleantrue-

ActionSheet Events ​

@selected(item) ​

Select event

PropsDescriptionType
itemselected valueObject: {label, value}
@cancel() ​

Cancel selection

@show() ​

Show ActionSheet

@hide() ​

Hide ActionSheet