Skip to main content

Property Definition

Display Values

Display Resolution Flow

diagram

Simple Property Display

Show the title property of a referenced Hazard entity:
Show the titleOrName property with fallback:

JavaScript Function Display

Use a JavaScript arrow function string to return custom HTML. The function has access to a context object.

Context Object

Use the > (folded scalar) indicator for multi-line JavaScript function strings in YAML. The function is evaluated in the browser at render time.

Display vs Render

Both display and render can accept JavaScript function strings, but they serve different purposes:
When both display and render are set on the same column, render typically takes precedence for visual output. Use display for property selection and render for custom HTML when both are needed.

Complete YAML Example


Last modified on July 10, 2026