mand-mobile/components/button
xuxiaoyan 62e09b3e7d fix(button): update style
change boder size & background color of some type buttons
2018-11-30 20:27:07 +08:00
..
demo example(button): update button content 2018-11-13 16:53:15 +08:00
jest-test test(button, icon): add test spec 2018-11-26 17:36:07 +08:00
test
README.en-US.md doc: update 2018-11-25 10:40:18 +08:00
README.md doc: update 2018-11-25 10:40:18 +08:00
index.vue fix(button): update style 2018-11-30 20:27:07 +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 theme type String default default, primary, warning, disabled, link
native-type button type String button -
size - String large large/small
plain - Boolean false -
round - Boolean false -
inline - Boolean false -
icon - String - refer to Icon for optional values
icon-svg use svg icon Boolean false -
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