Data and Evaluation
Status: implemented Core model.
Host data supplies normal expression names. A data
attribute is parsed as JSON first; if parsing fails, the runtime may
evaluate it as a JavaScript expression. Expressions run in current
Sercrod scope and may use host data, $data,
$root, $parent, local directive values, event
values, and documented methods.
Expressions, expression-based data, and registered
methods are trusted template execution, not a sandbox for untrusted
input. Keep expressions small; move reusable complex behavior into
declared methods.
Evidence
Status: implemented.
Evidence: docs/spec/runtime.md Sections 4 and 6,
dist/sercrod.js, and canonical manual
dist/man.json.