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

@beysong/wxc-notice

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beysong/wxc-notice

通告栏 - 小程序组件

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

wxc-notice

通告栏 - 小程序组件

Install

$ min install @minui/wxc-notice

API

Notice

名称描述
scroll[说明]:通告栏文案是否滚动。
[类型]:Boolean
[默认值]:false
isShow[说明]:是否显示通告栏。
[类型]:Boolean
[默认值]:true
notice[说明]:通告栏文案。
[类型]:String
[默认值]:""
color[说明]:通告栏文案颜色。
[类型]:String
[默认值]:#fff
bg-color[说明]:通告栏背景色。
[类型]:String
[默认值]:#ff5777
show-icon[说明]:是否显示通告栏前面的 icon
[类型]:Boolean
[默认值]:false
icon-color[说明]:通告栏前面的 icon 的颜色,配合 show-icon 使用。
[类型]:String
[默认值]:#fff
close[说明]:是否显示关闭按钮。
[类型]:Boolean
[默认值]:false
bg-rgba[说明]:通告栏关闭按钮前的遮罩层颜色,取背景颜色的 rgba 形式,a 的值为 0,配合关闭按钮一起使用。
[类型]:String
[默认值]:rgba(255, 87, 119, 0)
bind:close[说明]:关闭按钮点击事件的回掉函数。

ChangeLog

v1.0.0(2018-4-3)

  • 初始版本

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