Skip to content

Commit 2e17e59

Browse files
committed
Update README.md
1 parent 5ea269e commit 2e17e59

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,15 @@ Example :
111111
The ZingChart Component takes the following attributes:
112112

113113

114-
### _id_ [string] ```(required)```
114+
### _id_ [string] ```(optional)```
115115
The id for the DOM element for ZingChart to attach to.
116116
##### Example:
117117
```html
118118
<zingchart id="chart-1"></zingchart>
119119
```
120120

121+
If no id is specified, the id will be autogenerated in the form of `zingchart-auto-#`
122+
121123
---
122124

123125

0 commit comments

Comments
 (0)