Liking cljdoc? Tell your friends :D

im-tables.events.exporttable


encode-filecljs

(encode-file data filetype)

Encode a stringified text file such that it can be downloaded by the browser. Results must be stringified - don't pass objects / vectors / arrays / whatever.

Encode a stringified text file such that it can be downloaded by the browser.
Results must be stringified - don't pass objects / vectors / arrays / whatever.
sourceraw docstring

(set-download-link-properties results file-type)

We're setting the attributes of a link with the download property enabled, then clicking it programatically. This spawns a nice download without having to create a new window which might be pop-up blocked. It also allows us to set the filename. We live in the future!

We're setting the attributes of a link with the download property enabled,
then clicking it programatically.
This spawns a nice download without having to create a new window
which might be pop-up blocked. It also allows us to set the filename.
We live in the future!
sourceraw docstring

stringify-query-resultscljs

(stringify-query-results file-type query-results)

converts results into a csv/tsv-style string.

converts results into a csv/tsv-style string.
sourceraw docstring

xsvcljs

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close