index.js 447 B

1234567891011121314151617181920212223
  1. Component({
  2. externalClasses: ['i-class'],
  3. properties: {
  4. percent: {
  5. type: Number,
  6. value: 0
  7. },
  8. // normal || active || wrong || success
  9. status: {
  10. type: String,
  11. value: 'normal'
  12. },
  13. strokeWidth: {
  14. type: Number,
  15. value: 10
  16. },
  17. hideInfo: {
  18. type: Boolean,
  19. value: false
  20. }
  21. }
  22. });