Docs

API

templateData property

loopic.templateData

  • templateData Object - data passed from CasparCG and parsed as Javascript object

Description

Property holds all template data passed (on every update method execution) from CasparCG.

Example

const number = loopic.templateData.t1score; // or
const color = loopic.templateData.t1color;