updateDirectionDots

private final Unit updateDirectionDots(Integer position)

Updates the navigation dots to indicate the current page in the carousel.

Parameters

position

The current page index.