Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
asafdav committed Jan 10, 2014
1 parent 57be8f7 commit fb2593c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ ngCsv attributes
----------------
* ng-csv: The data array
* filename: The filename that will be stored on the user's computer
* csv-header: If provided, would use this attribute to create a header line
* csv-header: If provided, would use this attribute to create a header row

```html
<button type="button" ng-csv="getArray()" csv-header="['Field A', 'Field B', 'Field C']" filename="test.csv">Export</button>
```

* field-separator: Defines the field separator character (default is)
* text-delimiter: If provided, will use this characters to "escape" string values

Expand Down

0 comments on commit fb2593c

Please sign in to comment.