---
title: "Hints API"
url: "https://help.productfruits.com/en/article/javascript-api-hints"
language: "en"
last_updated: "2025-02-17T08:34:09.133Z"
---

# Hints API

## Description

This JS API provides you access to all hints. Access methods on this object:

> `productFruits.api.hints`

## Methods

> `updatePositions()`

Updates positions of all hints based on the current target element positions. This method should be typically called after special animations are applied to the target element.
