UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

12 lines (9 loc) 320 B
/*! * All material copyright ESRI, All Rights Reserved, unless otherwise specified. * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details. */ 'use strict'; function getRoundRobinIndex(index, total) { return (index + total) % total; } exports.getRoundRobinIndex = getRoundRobinIndex;