FaceboxTemplate

FaceboxTemplate

new FaceboxTemplate(options)

Source:
Parameters:
Name Type Description
options object
Properties
Name Type Description
_fs FSLibrary

Members

_cachedFiles :Object.<string, string>

Source:
Type:
  • Object.<string, string>

_debug :boolean

Source:
Type:
  • boolean

_env :Object.<string, any>

Source:
Type:
  • Object.<string, any>

INCLUDE_LEVEL :number

Source:
Type:
  • number

Methods

render(text, vars, env)

Source:
This:
Parameters:
Name Type Description
text string
vars Object.<string, any>
env Object.<string, any>

renderCode(code, vars, callback, virtualFilePath)

Source:
This:
Parameters:
Name Type Description
code string
vars Object.<string, any>
callback function
virtualFilePath string

renderFile(filePath, vars, callback)

Source:
This:
Parameters:
Name Type Description
filePath string
vars Object.<string, any>
callback function