mand-mobile/components/progress
MeloHG 39216555ba feat: 键盘增加0,00键可替换 2023-10-11 15:59:31 +08:00
..
demo feat(progress): add prop rotate 2018-12-10 17:52:42 +08:00
test test: Update snapshots 2019-04-13 10:33:01 +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
component.js feat: 键盘增加0,00键可替换 2023-10-11 15:59:31 +08:00
index.vue feat(progress): add prop rotate 2018-12-10 17:52:42 +08:00

README.en-US.md

title preview
Progress https://didi.github.io/mand-mobile/examples/#/progress

Progress circle, generally used to communicate data intuitively to users

Import

import { Progress } from 'mand-mobile'

Vue.component(Progress.name, Progress)

Code Examples

API

Progress Props

Props Description Type Default Note
value progress value Number 0 0-1
size circle size Number 70 unit px
width circle stroke width Number - unit px
color circle stroke highlight color String #fc9153 -
border-color circle stroke color String rgba(0, 0, 0, .1) -
fill circle fill color String transparent -
linecap shape of end String round round, butt
rotate - Number 0 -
transition use transition when value changes Boolean false -
duration transition duration Number 1000 unit ms

Progress Slots

default

slot inside circle, generally used to add text

defs

slot inside circle svg, generally used to add defs, use elements, etc