Browse Source

Add documentation for transform configuration option

pull/516/head
Eric Fossas 7 years ago
parent
commit
0882b656b1
  1. 11
      docs.html

11
docs.html

@ -354,7 +354,8 @@ var csv = Papa.unparse({
chunk: undefined, chunk: undefined,
fastMode: undefined, fastMode: undefined,
beforeFirstChunk: undefined, beforeFirstChunk: undefined,
withCredentials: undefined withCredentials: undefined,
transform: undefined
}</code></pre> }</code></pre>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
@ -539,6 +540,14 @@ var csv = Papa.unparse({
A boolean value passed directly into XMLHttpRequest's "withCredentials" property. A boolean value passed directly into XMLHttpRequest's "withCredentials" property.
</td> </td>
</tr> </tr>
<tr>
<td>
<code>transform</code>
</td>
<td>
A function to apply on each value. The function receives the value as its first argument and the column number as its second argument. The return value of the function will replace the value it received. The transform function is applied before dynamicTyping.
</td>
</tr>
</table> </table>
</div> </div>
</div> </div>

Loading…
Cancel
Save