Function: documentFileName()
documentFileName(
name,prefix?):string
Defined in: src/lib/document/index.ts:258
The name of the file a document is exported to, starting with a prefix (see PaintCanvasNames.filePrefix).
Parameters
name
string
prefix?
string = "paintcanvas"
Returns
string
Example
documentFileName("Sunset at sea"); // "paintcanvas-sunset-at-sea.json"