Searchstax ExternalPromotionsWidget Angular

The SearchStax Site Search solution offera an Angular external-promotions widget for your custom search page.

The SearchstaxExternalPromotionsWidget displays external promotions fetched from the API.

Usage

Import the component:

import { SearchstaxSearchExternalPromotionsWidget } from '@searchstax-inc/searchstudio-ux-angular';


Add to template:

<app-searchstax-external-promotions></app-searchstax-external-promotions>


Input

  • templateOverride: TemplateRef to override default UI template.

Properties

  • externalPromotionsData: External promotions data object.

Methods

  • trackClick(): Handles click tracking for promotions.

Template Binding Properties

The templateOverride template provides:

  • externalPromotionsData: External promotions data object.
  • context: Component instance context.
  • trackClick: Handles click tracking for promotions.

See Example of External Promotions Widget for Angular

Questions?

Do not hesitate to contact the SearchStax Support Desk.