AddOptionComponent

The component used to suggest a poll option inside the poll actions section of the poll component.

Poll Screenshot
Add poll option Screenshot

Inputs and outputs

pollId

pollId: undefined | string

The poll id to display

Inherited from

BasePollComponent.pollId

Defined in

projects/stream-chat-angular/src/lib/polls/base-poll.component.ts:32


messageId

messageId: undefined | string

The message id the poll is attached to

Inherited from

BasePollComponent.messageId

Defined in

projects/stream-chat-angular/src/lib/polls/base-poll.component.ts:36


closeModal

closeModal: () => void

The callback to close the modal the component is displayed in

Type declaration

(): void

Returns

void

Defined in

projects/stream-chat-angular/src/lib/polls/poll-actions/add-option/add-option.component.ts:26

Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat Angular v7: <Your Question>