|  | ||
|---|---|---|
| .. | ||
| demo | ||
| test | ||
| README.en-US.md | ||
| README.md | ||
| index.vue | ||
		
			
				
				README.en-US.md
			
		
		
			
			
		
	
	| title | preview | 
|---|---|
| Button | https://didi.github.io/mand-mobile/examples/#/button | 
Button components for configuring different button styles
Import
import { Button } from 'mand-mobile'
Vue.component(Button.name, Button)
Code Examples
API
Button Props
| Props | Description | Type | Default | Note | 
|---|---|---|---|---|
| type | button type | String | primary | primary,ghost,ghost-primary,link | 
| size | button size | String | large | large,small(only works iftypeisghost/ghost-primary) | 
| icon | button icon | String | - | refer to Iconfor optional values | 
| disabled | disabled or not | Boolean | false | - | 
Button Events
@click(event)
Button click event