Skip to content

frontend / features/Project/projectFile / saveProjectToFile

Function: saveProjectToFile() ​

saveProjectToFile(projectFile, filename?): void

Defined in: features/Project/projectFile.ts:32

Serializes project and starts download as .chef file.

Default filename is project.chef. If user already has file with same name, browser will add numeric suffix automatically.

Parameters ​

projectFile ​

ProjectFile

Project data to save.

filename? ​

string = ...

Optional custom filename. Usually does not need to be changed.

Returns ​

void