Skip to main content

Interface: Evaluator

Runs a bundle and returns the string value of its __fluidgrids export.

Properties​

format​

readonly format: "esm" | "iife"

esm: the bundle as built; iife: a script assigning the exports to __fluidgridsBundle.

Methods​

evaluate()​

evaluate(code): Promise<string>

Parameters​

code​

string

Returns​

Promise<string>