Controls modal visibility.
Callback invoked when the modal should close.
Optional
positionModal anchoring position.
Optional
backgroundBackground color for the modal surface.
Identifier for the current participant submitting votes.
Permission level ('0'
participant, '1'
co-host, '2'
host) driving available actions.
Session Context:
Collection of every poll available in the session.
Currently active poll (if any) displayed in the modal.
Active socket.io connection for real-time poll updates.
Room identifier associated with poll events.
Optional
showOptional alert helper for surfacing poll feedback.
Customization:
Updates the external visibility state.
Poll Management:
Handler that persists a new poll (host/co-host only).
Handler that terminates the active poll (host/co-host only).
Handler that records the participant's vote selection.
User Context:
Optional
styleExtra styles applied to the modal container.
Advanced Render Overrides:
Optional
renderCustom renderer for the modal body content.
Optional
renderCustom renderer that can wrap/replace the outer modal container.
Configuration options for the
PollModal
component.PollModalOptions
Modal Control: