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

github.com/mengdu/m-button

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mengdu/m-button

  • v2.0.0+incompatible
  • Source
  • Go
  • Socket score

Version published
Created
Source

Button

A beautiful button component for vue.

中文文档

Live Demo

Use

npm install vue-m-button
import MButton from 'vue-m-button'
// for v1.0.0
// import 'vue-m-button/dist/css/default.css'

Vue.use(MButton)

It will register m-button-groupm-button component.

<m-button>defaut</m-button>

button grounp:

<m-button-group>
  <m-button type="info">Home</m-button>
  <m-button type="info">Hot</m-button>
  <m-button type="info">Special</m-button>
</m-button-group>

Button Attributes

AttributeDescriptionTypeAccepted ValuesDefault
sizesizestringmax, large, samll, mini
typetypestringinfoprimarywarningdangersuccess
plainplain bttonbooleanfalse
roundround buttonbooleanfalse
disableddisabledbooleanfalse
activeactive statebooleanfalse
effecteffect statebooleantrue
routervue-router route objectpath

FAQs

Package last updated on 13 Aug 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