WickFile

Wick. WickFile

Utility class for creating and parsing wick files.

Constructor

new WickFile()

Source:

Methods

(static) fromWickFile(wickFile, callback, format)

Description:
  • Create a project from a wick file.

Source:
Parameters:
Name Type Description
wickFile File

Wick file containing project data.

callback function

Function called when the project is created.

format string

The format to return. Can be 'blob' or 'base64'.

(static) generateMetaData() → {object}

Description:
  • Generate some metadata for debugging wick projects.

Source:
Returns:
Type
object

(static) toWickFile(project, callback, format)

Description:
  • Create a wick file from the project.

Source:
Parameters:
Name Type Description
project Wick.Project

the project to create a wick file from

callback function

Function called when the file is created. Contains the file as a parameter.

format string

The format to return. Can be 'blob' or 'base64'.