WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/action-sheet
yj d281aab5b3 Initial Commit 2024-11-11 14:16:29 +08:00
..
template Initial Commit 2024-11-11 14:16:29 +08:00
README.en-US.md Initial Commit 2024-11-11 14:16:29 +08:00
README.md Initial Commit 2024-11-11 14:16:29 +08:00
action-sheet.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
action-sheet.js Initial Commit 2024-11-11 14:16:29 +08:00
action-sheet.json Initial Commit 2024-11-11 14:16:29 +08:00
action-sheet.wxml Initial Commit 2024-11-11 14:16:29 +08:00
action-sheet.wxs Initial Commit 2024-11-11 14:16:29 +08:00
action-sheet.wxss Initial Commit 2024-11-11 14:16:29 +08:00
index.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
index.js Initial Commit 2024-11-11 14:16:29 +08:00
props.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
props.js Initial Commit 2024-11-11 14:16:29 +08:00
show.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
show.js Initial Commit 2024-11-11 14:16:29 +08:00
type.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
type.js Initial Commit 2024-11-11 14:16:29 +08:00

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