Live card
Category: Events. Tags: Social and audience, QR codes, Events and venues, Schools and campuses.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Live poll" | maxLength: 40 | |
voteLabel | string | "Scan to vote" | maxLength: 30 | |
order | string | "listed" | "listed", "ranked" | |
showVotes | boolean | true | Show vote counts beside the percentages. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
question | string | "" | maxLength: 140 | |
options | array | [] | minItems: 0; maxItems: 6 | |
options[].label | string | minLength: 1; maxLength: 40; Required | ||
options[].votes | integer | 0 | minimum: 0 | Votes so far. Percentages are shares of the total. |
closed | boolean | false | True once voting has ended: the leader is named the winner. | |
closedAt | string | "" | maxLength: 40 | The instant voting closed, ISO 8601. Primetime plays the poll-closed and winner reveal from it, on every screen at once. |
voteUrl | string | "" | maxLength: 300 | The page the QR code opens to vote. Empty hides the code. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type live-poll --major 1 --file params.json --context-file context.md
Example data
{
"question": "",
"options": [],
"closed": false,
"closedAt": "",
"voteUrl": ""
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.