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
..
README.en-US.md 初始化提交代码 3 years ago
README.md 初始化提交代码 3 years ago
drawer.d.ts 初始化提交代码 3 years ago
drawer.js 初始化提交代码 3 years ago
drawer.json 初始化提交代码 3 years ago
drawer.wxml 初始化提交代码 3 years ago
drawer.wxss 初始化提交代码 3 years ago
props.d.ts 初始化提交代码 3 years ago
props.js 初始化提交代码 3 years ago
type.d.ts 初始化提交代码 3 years ago
type.js 初始化提交代码 3 years ago

README.en-US.md

:: BASE_DOC ::

API

Drawer Props

name type default description required
close-on-overlay-click Boolean undefined - N
destroy-on-close Boolean false - N
footer Slot - 0.29.0 N
items Array - TypescriptDrawerItem[] interface DrawerItem { title: string; icon: string; }see more ts definition N
placement String right optionsleft/right N
show-overlay Boolean true - N
title String / Slot - 0.29.0 N
visible Boolean false - N
z-index Number 11500 - N

Drawer Events

name params description
close (trigger: TriggerSource) see more ts definition
type TriggerSource = 'overlay'
item-click (index: number; item: DrawerItem) -
overlay-click - -