You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* To edit the default values, change the options in the `roundProgressConfig` constant.
27
27
* Since the `0.2.0` release this directive uses dynamic binding. For example, if you want to change the fill color at a certain value, you can use `color="{{ (current / max < 0.5) ? '#ff8080' : '#45ccce' }}"`.
28
28
29
-
| Name | Description | Required | Default value | Possible values |
29
+
| Name | Description | Required | Default value | Possible values |
30
30
| --- | --- | --- | --- | --- |
31
-
|`current`| The current progress. Limited by the `max` option. | Yes | undefined | Integer |
32
-
|`max`| The progress' maximum value. | Yes | undefined | Integer |
31
+
|`current`| The current progress. Limited by the `max` option. | Yes | undefined | Integer |
32
+
|`max`| The progress' maximum value. | Yes | undefined | Integer |
33
33
|`radius`| Radius of the circle. | No | 50 | Integer |
34
-
|`color`| The color of the `current` value on the circle. | No | #45ccce | Hex color |
35
-
|`bgcolor`| Color of the circle's background. | No | #eaeaea | Hex color |
34
+
|`color`| The color of the `current` value on the circle. | No | #45ccce | Hex color or string. Refer to [this example](https://github.com/crisbeto/angular-svg-round-progressbar/issues/29) for an example of using a gradient.|
35
+
|`bgcolor`| Color of the circle's background. | No | #eaeaea | Hex color or string. Refer to [this example](https://github.com/crisbeto/angular-svg-round-progressbar/issues/29) for an example of using a gradient. |
36
36
|`stroke`| Specifies the circle's thickness. | No | 15 | Integer |
37
37
|`semi`| Whether the progressbar should be a full circle or a semicircle. | No | false | Boolean |
38
38
|`clockwise`| Whether the progressbar should rotate clockwise or counter-clockwise. | No | true | Boolean |
0 commit comments