ADK API Reference
    Preparing search index...

    Interface ArticleAdapterOptions

    Options for configuring True Native article rendering.

    interface ArticleAdapterOptions {
        afterLoad?: (params: AfterLoadClientParams<ArticleClientItem>) => void;
        bodyClasses?: string[];
        render?: string;
        templateValues?: TemplateParams;
    }
    Index

    Properties

    afterLoad?: (params: AfterLoadClientParams<ArticleClientItem>) => void

    Callback invoked when this adapter's rendering and post-render setup complete.

    bodyClasses?: string[]

    Class names applied to the body element of the article.

    Note

    These are added in addition to the default adk-native-body class.

    render?: string

    The name of the template to render. Add the template using ConfigBuilder.addTemplate.

    The adapter ID
    
    templateValues?: TemplateParams

    Custom template parameters to use when rendering the ad. These will be available for use in the template in addition to values provided by the adapter.

    {}