🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@beysong/wxc-popup

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beysong/wxc-popup

MinUI 小程序组件 - 弹出层

latest
Source
npmnpm
Version
1.0.16
Version published
Maintainers
1
Created
Source

wxc-popup

MinUI 小程序组件 - 弹出层

Install

$ min install @minui/wxc-popup

API

Popup【props】

名称描述
animation-mode【说明】动画样式
【类型】String
【默认值】""
【可选值】none, center, top, bottom, left, right
align【说明】占位位置
【类型】String
【默认值】""
【可选值】center, top, bottom, left, right
status【说明】默认状态
【类型】String
【默认值】""
[可选值】hide, show
locked【说明】遮罩层是否设置锁定态。
【类型】String
【默认值】"hide"
[可选值]:
"true",点击遮罩层背景部分不会关闭遮罩(点击子节点部分关闭遮罩)。
"hide",点击遮罩层背景部分关闭遮罩(点击子节点部分不会关闭遮罩)。

Popup【methods】

名称描述
show【说明】显示 popup
【params】void
【return】void
hide【说明】隐藏 popup
【params】void
【return】void
toggle【说明】切换 popup 的可见状态。
【params】switch: Boolean。可选。
【return】void
地址
popup 组件文档
https://meili.github.io/min/docs/minui/index.html#popup
popup 组件源码
https://github.com/beysong/minui/tree/master/packages/wxc-popup
MinUI 组件库
https://github.com/meili/minui

Preview

popup

ChangeLog

v1.0.7(2018.03.29)

  • 补充文档,增加 locked 属性的说明

v1.0.6(2018.01.09)

  • z-index 层级规范方案修改

v1.0.3(2018.01.04)

  • 增加toggle方法,规范z-index层级

v1.0.2(2017.11.02)

  • update .npmignore

v1.0.1(2017.10.24)

  • 初始版本

FAQs

Package last updated on 21 Sep 2018

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