New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@doraemon-ui/miniprogram.backdrop

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@doraemon-ui/miniprogram.backdrop

miniprogram backdrop component for doraemon-ui

latest
npmnpm
Version
0.0.1-alpha.1
Version published
Weekly downloads
48
860%
Maintainers
2
Weekly downloads
 
Created
Source

Backdrop 背景幕

在组件中设置显示蒙层。

使用指南

在 page.json 中引入组件

json

示例代码

在开发者工具中预览效果

WXML

wxml

JAVASCRIPT

js

WXSS

wxss

API

参数类型描述默认值
prefixClsstring自定义类名前缀dora-backdrop
classNamesany过渡的类名,更多内置过渡效果请参考 AnimationGroupdora-animate--fadeIn
transparentboolean是否显示透明蒙层false
zIndexnumber设置蒙层的 z-index1000
bind:clickfunction点击事件-
bind:afterShowfunction完全显示后触发-
bind:afterClosefunction完全关闭后触发-

Backdrop.method

  • Backdrop.retain
  • Backdrop.release

Keywords

doraemon-ui

FAQs

Package last updated on 03 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts