displayType property
Indicates how to display the attachments.
If the value is PopupAttachmentsDisplayType.list, attachments show as links. If the value is PopupAttachmentsDisplayType.preview, attachments expand to the width of the pop-up. A value PopupAttachmentsDisplayType.auto allows your app to determine the most suitable default experience.