You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kgdxpr e69712b1d2
'commit'
1 year ago
..
template 'commit' 1 year ago
README.en-US.md 'commit' 1 year ago
README.md 'commit' 1 year ago
action-sheet.d.ts 'commit' 1 year ago
action-sheet.js 'commit' 1 year ago
action-sheet.json 'commit' 1 year ago
action-sheet.wxml 'commit' 1 year ago
action-sheet.wxs 'commit' 1 year ago
action-sheet.wxss 'commit' 1 year ago
index.d.ts 'commit' 1 year ago
index.js 'commit' 1 year ago
props.d.ts 'commit' 1 year ago
props.js 'commit' 1 year ago
show.d.ts 'commit' 1 year ago
show.js 'commit' 1 year ago
type.d.ts 'commit' 1 year ago
type.js 'commit' 1 year ago

README.en-US.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

:: BASE_DOC ::

API

ActionSheet Props

name type default description required
align String center 0.29.0。optionscenter/left N
cancel-text String - - N
count Number 8 - N
description String - 0.29.0 N
items Array - required。TypescriptArray<string | ActionSheetItem> interface ActionSheetItem {label: string; color?: string; disabled?: boolean }see more ts definition Y
show-cancel Boolean true - N
theme String list optionslist/grid N
visible Boolean false required Y
default-visible Boolean undefined required。uncontrolled property Y

ActionSheet Events

name params description
cancel - -
close (trigger: TriggerSource) see more ts definition
type TriggerSource = 'overlay' | 'command' | 'select'
selected (selected: ActionSheetItem | string, index: number) -