Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

m-balloon

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m-balloon

m-balloon - simulate 'title' pop layer

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 23 May 2017

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc