Stream logoStream logo

Search Angular Chat docs

    • Chat Messaging
    • Video and Audio
    • Activity Feeds
    • Moderation
    • Platform
    • Agent Skills
    • CLI
      • React
      • iOS
      • Android
      • React Native
      • Flutter
      • Angular
      • React
      • iOS
      • Android
      • React Native
      • Flutter
      • JavaScript
      • Unity
      • Unreal
      • Node
      • Python
      • Ruby
      • PHP
      • Java
      • .NET
      • Go
      • REST
    • v7
    • v6
    • v5
    • v4
    • Basics
      • Overview
      • Angular version support
      • Upgrade from v6
    • Theming and Css
      • Introduction
      • Global variables
      • Component variables
      • Palette variables
    • Concepts
      • Client state
      • Users and tokens
      • Translation
      • Opt-in architecture
      • Change detection
      • Channel list state
      • Message interactions
      • Customization
      • Custom types
    • Code Examples
      • Responsive layout
      • Emoji picker
      • Custom attachments
      • Mobile app with Ionic
      • Push notifications
      • Custom textarea
      • Voice recordings
      • Pin messages
      • Mention actions
      • Channel invites
      • Custom autocompletes
      • Polls
    • Components
      • AddOptionComponent
      • AttachmentListComponent
      • AttachmentPreviewListComponent
      • AutocompleteTextareaComponent
      • AvatarComponent
      • AvatarPlaceholderComponent
      • ChannelComponent
      • ChannelHeaderComponent
      • ChannelListComponent
      • ChannelPreviewComponent
      • IconComponent
      • IconPlaceholderComponent
      • LoadingIndicatorComponent
      • LoadingIndicatorPlaceholderComponent
      • MessageActionsBoxComponent
      • MessageBlockedComponent
      • MessageBouncePromptComponent
      • MessageComponent
      • MessageInputComponent
      • MessageListComponent
      • MessageReactionsComponent
      • MessageReactionsSelectorComponent
      • MessageTextComponent
      • ModalComponent
      • NotificationComponent
      • NotificationListComponent
      • PaginatedListComponent
      • PollActionsComponent
      • PollAnswersListComponent
      • PollComponent
      • PollComposerComponent
      • PollHeaderComponent
      • PollOptionSelectorComponent
      • PollOptionsListComponent
      • PollPreviewComponent
      • PollResultsListComponent
      • PollVoteComponent
      • PollVoteResultsListComponent
      • TextareaComponent
      • ThreadComponent
      • UpsertAnswerComponent
      • UserListComponent
      • VoiceRecorderComponent
      • VoiceRecorderWavebarComponent
      • VoiceRecordingComponent
      • VoiceRecordingWavebarComponent
    • Services
      • AmplitudeRecorderService
      • AttachmentConfigurationService
      • AttachmentService
      • AudioRecorderService
      • ChannelService
      • ChatClientService
      • CustomTemplatesService
      • DateParserService
      • EmojiInputService
      • MessageActionsService
      • MessageInputConfigService
      • MessageReactionsService
      • MessageService
      • NotificationService
      • StreamI18nService
      • ThemeService
      • TranscoderService
      • TransliterationService
      • VirtualizedListService
      • VirtualizedMessageListService
      • VoiceRecorderService
    • Types
      • Stream message
    • Chat Messaging
    • Video and Audio
    • Activity Feeds
    • Moderation
    • Platform
    • Agent Skills
    • CLI
      • React
      • iOS
      • Android
      • React Native
      • Flutter
      • Angular
      • React
      • iOS
      • Android
      • React Native
      • Flutter
      • JavaScript
      • Unity
      • Unreal
      • Node
      • Python
      • Ruby
      • PHP
      • Java
      • .NET
      • Go
      • REST
    • v7
    • v6
    • v5
    • v4
    • Docs
    • Chat Messaging
    • Angular
    • PollComposerComponent
    • View as markdown
    • Open in ChatGPT
    • Open in Claude
    • Open in Grok
    • Open in Perplexity

    PollComposerComponent

    On this page
    • Inputs and outputs
      • pollCompose
      • cancel

    The component that lets you create a poll.

    Poll Composer

    Inputs and outputs

    pollCompose

    pollCompose: EventEmitter<string>

    Emitted when a poll is created, the poll id is emitted

    Defined in

    projects/stream-chat-angular/src/lib/polls/poll-composer/poll-composer.component.ts:28


    cancel

    cancel: EventEmitter<void>

    Emitted when the poll composing is cancelled

    Defined in

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

    Previous
    PollComponent
    Next
    PollHeaderComponent
    © Stream.io, Inc. All Rights Reserved.
    Chat MessagingVideo & AudioActivity FeedsModeration
    On this page
    • Inputs and outputs
      • pollCompose
      • cancel
    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>