ADK API Reference
    Preparing search index...

    Interface TeaserTemplateParams

    Template parameters for True Native and Content Display teasers to be used in templates for rendering content.

    interface TeaserTemplateParams {
        advertiser: string;
        headline: string;
        lead: string;
        srcAttrs: string;
        url: string;
        video: string;
    }
    Index

    Properties

    advertiser: string

    Advertiser name, HTML-escaped.

    headline: string

    Headline, HTML-escaped.

    lead: string

    Lead text, HTML-escaped.

    srcAttrs: string

    src and srcset attributes for the main asset concatenated into a single string, to be used in an <img> element.

    Undefined when there is no image or the asset is a video.

    url: string

    Teasers: destination URL.

    Articles: the publisher's URL for the current article.

    video: string

    Video player HTML.

    Undefined when there is no video asset.