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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,8 +42,8 @@ Or tinker with CountUp in [Stackblitz](https://stackblitz.com/edit/countup-types
42
42
On npm as `countup.js`. You can import as a module, or include the UMD script and access CountUp as a global. See [detailed instructions](#including-countup) on including CountUp.
43
43
44
44
**Params**:
45
-
-`target: string | HTMLElement | HTMLInputElement` - id of html element, input, svg text element, or DOM element reference where counting occurs
46
-
-`endVal: number` - the value you want to arrive at
45
+
-`target: string | HTMLElement | HTMLInputElement` - id of html element, input, svg text element, or DOM element reference where counting occurs.
46
+
-`endVal: number | null` - the value you want to arrive at. Leave null to use the number in the target element.
47
47
-`options?: CountUpOptions` - optional configuration object for fine-grain control
48
48
49
49
**Options** (defaults in parentheses): <aname="options"></a>
0 commit comments