Frontend components#
The add-on registers these components in Volto's component registry. See Customize the frontend to replace them.
Name |
Dependencies |
Is |
|---|---|---|
|
none |
The poll itself: its question, status messages, vote form, and results. The poll view and the Poll block both use it. |
|
|
The chart for one graph type. |
Poll#
Property |
Type |
Description |
|---|---|---|
|
string |
The poll's path, relative to the site. Required. |
|
string |
The question, shown as a heading. The poll view leaves it out, because the page title already says it. |
|
string |
A heading above the poll. |
|
boolean |
Show the number of votes so far, when the user may see the results. |
|
boolean |
Link the question to the poll. |
|
boolean |
|
|
list |
Options to show until the poll's state arrives, such as when rendering on the server. |
|
number |
How many options a voter can pick, until the poll's state arrives. |
|
string or |
The legend, until the poll's state arrives. |
PollResultsGraph#
Property |
Type |
Description |
|---|---|---|
|
list |
The results, in the poll's option order, as the |
A graph type without a registered component is drawn as numbers.
Other pieces#
Piece |
Name |
|---|---|
Poll view |
The default view of |
Options widget |
The |
Content icon |
A bar chart icon for |