mand-mobile/components/button
moyus 03f4311dee style: clean styles 2018-09-03 17:28:32 +08:00
..
demo style(site & examples): update style 2018-08-29 17:37:25 +08:00
test test: Improve unit test cases 2018-04-23 17:33:32 +08:00
README.en-US.md fix(button): change type defaut value 2018-08-29 14:47:54 +08:00
README.md fix(button): change type defaut value 2018-08-29 14:47:54 +08:00
index.vue style: clean styles 2018-09-03 17:28:32 +08:00

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 - String default default/primary/warning/disabled/link
size - String large large/small
plain - Boolean false -
round - Boolean false -
inline - Boolean false -
icon - String - refer to Icon for optional values
inactive - Boolean false The button is not clickable which is inactive or disabled. The former is generally used for subjective factors such as invalid form validation, and the latter is used for objective factors such as no permission or no inventory.

Button Events

@click(event)

Button click event