// Disregard, I figured it out...//
I have a template that is being loaded via a JSON file. My JSON file contains data I would like to use to set CSS parameters in the rendered html.
Is it possible to have a function inside the template that performs a calculation on the JSON data and them uses the result to modify a CSS parameter?
I have a template that is being loaded via a JSON file. My JSON file contains data I would like to use to set CSS parameters in the rendered html.
Is it possible to have a function inside the template that performs a calculation on the JSON data and them uses the result to modify a CSS parameter?