Skip to content
items — Items; type: json; default: [{"title": "Slide 1"}, {"title": "Slide 2"}, {"title": "Slide 3"}]
autoPlay — Auto play (unsupported); type: boolean; default: false
aspectRatio — Aspect ratio; type: select; default: "16/9"; options: [{"label": "16/9", "value": "16/9"}, {"label": "4/3", "value": "4/3"}, {"label": "3/2", "value": "3/2"}, {"label": "1/1", "value": "1/1"}, {"label": "21/9", "value": "21/9"}]
fit — Object fit; type: select; default: "contain"; options: [{"label": "Contain", "value": "contain"}, {"label": "Cover", "value": "cover"}]
captions — Slide captions; type: boolean; default: true
showThumbnails — Thumbnails; type: boolean; default: false
- Field:
display.show_when
- Default: show
- Truthiness: empty string, null, undefined, false, 0 and the exact strings “false” and “0” are falsy; everything else is truthy
(unset) — show (default)
authenticated — show only when the viewer is authenticated
unauthenticated — show only when the viewer is not authenticated
expr:<path> — show when the dotted context path is truthy
expr:!<path> — show when the dotted context path is falsy
expr:<path> == <path> — show when the two operands are equal; primitive values are compared as strings, an absent or null operand only equals another absent or null operand, and objects compare by identity; either operand may be a whole {{time.}} token
expr:<path> != <path> — show when the two operands are not equal under the == comparison
expr:<path> == <literal> — quoted strings, numbers, true, false and null are literal operands; bare words remain context paths
expr:<operand> < <operand> — ordering also supports <=, > and >=; numeric values and numeric strings compare numerically, other strings lexically; absent values do not order
expr:count(<path>) — the length of an array, or zero for absent or non-array values; count is the only supported function
expr:(<term>) — parentheses group expressions and may override boolean precedence
expr:<term> && <term> — show when both terms hold; each term is one of the expr: forms above
expr:<term> || <term> — show when either term holds; && binds tighter than ||, so a || b && c means a || (b && c)
<unknown keyword> — show (backwards-compatible fallback)