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.
lsl 7e355978ae
初始化提交代码
3 years ago
..
template 初始化提交代码 3 years ago
README.en-US.md 初始化提交代码 3 years ago
README.md 初始化提交代码 3 years ago
action-sheet.d.ts 初始化提交代码 3 years ago
action-sheet.js 初始化提交代码 3 years ago
action-sheet.json 初始化提交代码 3 years ago
action-sheet.wxml 初始化提交代码 3 years ago
action-sheet.wxs 初始化提交代码 3 years ago
action-sheet.wxss 初始化提交代码 3 years ago
index.d.ts 初始化提交代码 3 years ago
index.js 初始化提交代码 3 years ago
props.d.ts 初始化提交代码 3 years ago
props.js 初始化提交代码 3 years ago
show.d.ts 初始化提交代码 3 years ago
show.js 初始化提交代码 3 years ago
type.d.ts 初始化提交代码 3 years ago
type.js 初始化提交代码 3 years ago

README.en-US.md

:: 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) -