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

rox-button

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rox-button

--- subtitle: 按钮 group: General category: UI chinese: 按钮 type: UI组件 ---

  • 0.0.36
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by400%
Maintainers
5
Weekly downloads
 
Created
Source

subtitle: 按钮 group: General category: UI chinese: 按钮 type: UI组件

Button

  • 通过设置 Button 的属性来产生不同的按钮样式

API

参数说明类型默认值
trigger触发元素Element
triggerType触发行为,可选 hover/clickstringhover
align气泡框位置,可选 t,r,b,l,tl,tr,rt,rb,bl,br,lt,lbstringt
closable是否有关闭按钮booltrue
visible用于手动控制浮层显隐booleanfalse
onClose关闭时触发回调function
afterClose关闭后触发回调functionfalse

FAQs

Package last updated on 06 Jul 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

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