SmallImageTemplate

data-variant=info
data-slots=text
SmallImageTemplate is only available in AEP SDK BOM version 3.7.0+.

Class which implements AepUITemplateType and represents a small Image template.

Public Properties

Property
Type
Description
id
String
The unique identifier for this template.
title
AepText
The title text and display settings.
body
AepText?
The body text and display settings.
image
AepImage?
The details of the image to be displayed.
actionUrl
String?
The URL to be opened when the the small image card is clicked.
buttons
List<AepButton>?
The details for the small image template buttons.
dismissBtn
AepIcon?
The details for the small image template dismiss button.

Methods

getType

Returns the type of this template, which is AepUITemplateType.SMALL_IMAGE.

Syntax

data-slots=heading, code
data-repeat=1
data-languages=Kotlin

Kotlin

override fun getType() = AepUITemplateType.SMALL_IMAGE