mand-mobile/components/activity-indicator
MeloHG 39216555ba feat: 键盘增加0,00键可替换 2023-10-11 15:59:31 +08:00
..
demo feat(activity-indicator): update roller style & add prop width 2018-09-29 15:31:05 +08:00
test fix(button): change default slot wrapper from p to div (#542) 2019-09-04 15:08:08 +08:00
README.en-US.md doc: update preview links 2019-01-29 16:31:24 +08:00
README.md doc: update preview links 2019-01-29 16:31:24 +08:00
carousel-circle.vue feature(activity-indicator):add activity_indicator (#119) 2018-06-30 14:52:34 +08:00
carousel.vue feat(activity-indicator): update 2.0 style 2018-08-22 14:55:06 +08:00
component.js feat: 键盘增加0,00键可替换 2023-10-11 15:59:31 +08:00
index.vue fix(activity-indicator): remove success 2018-12-07 10:30:20 +08:00
roller-success.vue fix(activity-indicator): update slot & add prop linecap 2018-12-10 14:48:41 +08:00
roller.vue fix(progress): hide inner circle when value is 0 (#385) 2019-04-02 18:14:04 +08:00
spinner.vue feature(activity-indicator):add activity_indicator (#119) 2018-06-30 14:52:34 +08:00

README.en-US.md

title preview
ActivityIndicator https://didi.github.io/mand-mobile/examples/#/activity-indicator

Activity indicator, generally used for ongoing tasks

Import

import { ActivityIndicator } from 'mand-mobile'

Vue.component(ActivityIndicator.name, ActivityIndicator)

Code Examples

API

ActivityIndicator Props

Props Description Type Default Note
type - String roller roller, spinner, carousel
size icon size Number 70px unit px, or reset .md-activity-indicator-svg style directly
width icon width Number - unit px, only for roller
color icon color String #fc9153/dark spinner cannot customize color value, the optional values are dark and light
text-color text color String #999 or reset .md-activity-indicator-text style directly
text-size text font size String 70px or reset .md-activity-indicator-text style directly
vertical icon and text are arranged vertically Boolean false -