Answers powered article tiles -- short

Usage:

To initialise the answers experience app on an external site, you need to have the main script loaded

      <script src="https://design-system.yext.com/dist/js/main.js"></script>
      


Once the script is loaded, you can call initAnswersArticleTilesShort(), which accepts the following arguments:

  1. container (string, required) - ID DOM selector: This is the container where the app will be injected
  2. scorllTo (string, required) - ID DOM selector: This is the element/section that the page will scroll to after new pagination link is clicked
  3. verticalKey (string, optional) - Vertical Key: The key to the vertical (e.g.: "case_studies", "resources"). Falls back to "case_studies"
  4. input (string, optional) - The input query for the vertical (e.g.: "food", "healthcare", "retail"), which will filter the vertical
  5. limit (boolean, optional) - The limit query for the vertical (how many cards to show at once). Default value: 8

      DesignSystem.maininitAnswersArticleTilesShort({
        container: "#answers-article-tiles-short",
        scorllTo: "#answers-article-tiles-short-section",
        verticalKey: "case_studies",
        input: "food",
        limit: 4,
      });