ContentCardCustomizing
Protocol defining methodology for customizing content cards based on the template type.
Protocol Definition
data-slots=heading, code
data-repeat=1
Swift
protocol ContentCardCustomizing {
func customize(template: SmallImageTemplate)
}
Methods
customize
Customize content cards with SmallImageTemplate.
Parameters
- template - The
SmallImageTemplateinstance to be customized.
Syntax
data-slots=heading, code
data-repeat=1
Swift
func customize(template: SmallImageTemplate)