PollActionsComponent

The component that displays the action buttons at the bottom of the poll component.

Poll 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


maxOptionsDisplayed

maxOptionsDisplayed: undefined | number = 10

If there are more options than this number, the “See all options” button will be displayed

Defined in

projects/stream-chat-angular/src/lib/polls/poll-actions/poll-actions.component.ts:39


maxPollOptions

maxPollOptions: number = 100

The maximum number of options allowed for the poll, this is defined by Stream API

Defined in

projects/stream-chat-angular/src/lib/polls/poll-actions/poll-actions.component.ts:43

© Getstream.io, Inc. All Rights Reserved.