Overview
The Custom Content component renders HTML defined in Hawksearch.
Selector
The selector for this component is <hawksearch-custom-content>
.
Data Model
The following data model is exposed to the Handlebars template:
interface ContentType { id: number; campaignId: number; type: string; title: string; zone: string; }
interface CustomContent extends ContentType { type: 'custom'; content: string; }
For more information, see Content Models.
Default Template
<div class="custom-content"> {{html content}} </div>