Edit in GitHubLog an issue

ImageOnlyTemplate

This class represents an ImageOnly templated content card authored in Adobe Journey Optimizer.

An image only template content card includes only an image that can be tapped like a button. An optional dismiss button can be added to dismiss the content card.

Use the ImageOnlyTemplate class to customize the appearance of the image only templated content cards.

ImageOnlyTemplate conforms to ObservableObject, allowing it to be used reactively in SwiftUI views.

Layout

imageonlytemplate layout

Public properties

PropertyTypeDescription
image
The image to be shown on the content card.
dismissButton
Optional
The dismiss button for the content card.
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.