Socket
Socket
Sign inDemoInstall

m-balloon

Package Overview
Dependencies
24
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    m-balloon

m-balloon - simulate 'title' pop layer


Version published
Maintainers
1
Install size
5.50 MB
Created

Readme

Source

Balloon


简单的文字提示气泡框。

何时使用

可用来代替系统默认的 title 提示,提供一个按钮/文字/操作的文案解释。

<Balloon content="我是内容~~">点我~</Balloon>

API

参数说明类型默认值
placement气泡框位置,可选 top,left ,right,bottom,topLeft ,topRight,bottomLeft, bottomRight,leftTop, leftBottom, rightTop, rightBottomstring'bottomLeft'
visible气泡内的关闭按钮是否可见booleanfalse
onVisibleChange气泡内的关闭按钮可见属性值发生改变后的回调function
content提示信息string/node

Keywords

FAQs

Last updated on 23 May 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc