Skip to main content

Overview

CometChatActionSheet is a component which present list of options in a list mode as well as grid mode as per the user’s choice. By default, CometChatActionSheet is an integral part of CometChatMessageComposer to deliver multiple types of media as well as custom messages.

Components

CometChatActionSheet mainly consist of below components: 1 . CometChatActionItem

Methods

Set Action Items

This method is used to render the list of action items to be displayed in action sheet.

Set Layout Mode

This method is used to set the default layout for the action sheet. It takes the enum LayoutMode which has two cases.
  1. List Mode
  2. Grid Mode

Set ActionSheetStyle

User can style the action sheet with the help of properties provided by the ActionSheetStyle.