You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joe 9b449c2688 first commit 2 years ago
..
README.en-US.md first commit 2 years ago
README.md first commit 2 years ago
drawer.d.ts first commit 2 years ago
drawer.js first commit 2 years ago
drawer.json first commit 2 years ago
drawer.wxml first commit 2 years ago
drawer.wxss first commit 2 years ago
props.d.ts first commit 2 years ago
props.js first commit 2 years ago
type.d.ts first commit 2 years ago
type.js first commit 2 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 - -