Skip to content

<pa-vote-button>: The vote button element

The <pa-vote-button> element provides a button for voting on the current statement of a conversation. It is rendered like a <button> element and must only contain non-interactive phrasing content. It must be a descendant of a <pa-conversation> element.

Attributes

disabled
If present disables any user interactions.
hidden
Indicates that the element content should not be shown.
type
FIXME

Styling

CSS shadow parts

The element exposes the following elements from its shadow root for use in CSS selectors using the element:

button
The <button> element inside the shadow root.

Custom states

The element exposes the following internal states for use in CSS selectors using the element:

inactive
The conversation is inactive and user interactions are not possible.

Javascript Interface

See ParticiappVoteButtonElement.

See also