PollModalOptions

data class PollModalOptions(val isPollModalVisible: Boolean = false, val onClose: () -> Unit, val position: String = "topRight", val backgroundColor: Int = 0xFFF5F5F5.toInt(), val member: String, val islevel: String, val polls: List<Poll>, val poll: Poll?, val socket: SocketManager?, val roomName: String, val showAlert: (ShowAlertOptions) -> Unit?, val updateIsPollModalVisible: (Boolean) -> Unit, val handleCreatePoll: (HandleCreatePollOptions) -> Unit, val handleEndPoll: (HandleEndPollOptions) -> Unit, val handleVotePoll: (HandleVotePollOptions) -> Unit)

PollModal - Modal for creating, viewing, and voting on polls.

Provides interface for poll management including creation, voting, and viewing results.

Constructors

Link copied to clipboard
constructor(isPollModalVisible: Boolean = false, onClose: () -> Unit, position: String = "topRight", backgroundColor: Int = 0xFFF5F5F5.toInt(), member: String, islevel: String, polls: List<Poll>, poll: Poll?, socket: SocketManager?, roomName: String, showAlert: (ShowAlertOptions) -> Unit?, updateIsPollModalVisible: (Boolean) -> Unit, handleCreatePoll: (HandleCreatePollOptions) -> Unit, handleEndPoll: (HandleEndPollOptions) -> Unit, handleVotePoll: (HandleVotePollOptions) -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onClose: () -> Unit
Link copied to clipboard
val poll: Poll?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard