Controls modal visibility.
Callback invoked when the modal should close.
OptionalpositionModal anchoring position.
OptionalbackgroundBackground 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.
OptionalshowOptional 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:
OptionalstyleExtra styles applied to the modal container.
Advanced Render Overrides:
OptionalrenderCustom renderer for the modal body content.
OptionalrenderCustom renderer that can wrap/replace the outer modal container.
Configuration options for the
PollModalcomponent.PollModalOptions
Modal Control: